Character strings

strings (sequence of characters) are declared in pascal using single quote (') character. Double quotes (") are not used.You can also use #nn to declare a character inside a string. There is no need to use '+' operator to add a character to a string.


A := 'This is FTPRush';
Str := 'Text1 '+'concat';
B := 'String with CR and LF char at the end'#13#10;
C := 'String with '#33#34' characters in the middle';