can see the help of Delph, inside has this question detailed explanation:
a character string, also called a string literal or string constant, consists of a quoted string, a control string, or A combination of quoted and control strings. Separators can occur only within quoted strings.
a quoted string is a sequence of up to 255 characters from the extended ASCII character set, written on one line and E Nclosed by apostrophes. A quoted string with nothing between the apostrophes is a null string. The sequential apostrophes in a quoted string denote a single character, and namely an apostrophe. For example,
' BORLAND ' {BORLAND}//Character
' You'll see ' {You'll see}//Two ' connected together to represent one of the characters ' number.
"' {'} ibid.
' {null string}//null value
' {a space}//A space
Example:
SQL statement: Where usename like '% Zhang San% '
STR1: = ' where ' + FieldName + ' like ' + '% ' + searchbuffer + '% '
Delphi single quotation marks used in string methods