Indexes |
Top Previous Next |
Indexes
Strings, arrays and array properties can be indexed using "[" and "]" chars. For example, if Str is a string variable, the expression Str[3] returns the third character in the string denoted by Str, while Str[I + 1] returns the character immediately after the one indexed by I.
Examples:
MyChar:=MyStr[2]; MyStr[1]:='A'; MyArray[1,2]:=1530; Lines.Strings[2]:='Some text'; |