10.10. Strings as arrays

C-style syntax could be used for accessing substrings in CLIP:

string[ <position>, |<length>| ]

where <pos> is the start position of the substring, <length> is the length of the substring, 1 by default.

This format is identical to calling SUBSTR() function, e.g.

substr(str,2,3)

could be written as

str[2,3]