User Tools

Site Tools


guide:help:scspascalcharacterstrings

Character strings

Documentation | Help File | Scripter Studio | Pascal Language | 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. Some examples:

A := 'This is a text' ;
Str := 'Text ' + 'concat' ;
B := 'String with CR and LF char at the end' + #13 + #10 ;
C := 'String with ' + #33 + #34 + ' characters in the middle' ;
2018/05/24 11:25

Page Tools