A string is a sequence of bytes or characters enclosed within single quote (‘'’) characters.
Examples:
'example string'
'single quote '' here'
'this is line 1
this is line 2
the end'
Strings can contain any binary character up to the last single quote; strings extending through
multiple lines are perfectly allowed, actually all non-printable characters are allowed.
Note: slashes '\' are not treated in any particular way
Escaping
Gladius DB strings need to be escaped only for the single quote character ' (hexadecimal
0x27); two subsequent single quote characters will be converted to a single quote character.
Note that the second example string must be double-quoted when used in a PHP parser:
<?php
$mystring = " 'single quote '' here' ";
// 'single quote '' here'
echo $mystring;
?>
Charset encoding