String and BString values can be treated as 1-dimensional arrays of Chars and WChars respectively. For example, if s is an String variable which has the value "ABC", then s[0] is the character 'A', s[1] is the character 'B', and s[2] is the character 'C'. It is an error if the subscript value is less than zero or is greater or equal to the current length of the string.
Multi-dimensional String and BString arrays can be subscripted down to the character level by adding one more subscript (the character index) to a reference which subscripts the array down to the individual string level. For example, if abs is a 4 by 5 array of BStrings, and abs[2,1] is "abcdef"L, then abs[2,1,4] is the WChar value 'e'L.
Arrays (Definition), Arrays and Structs, Arrays as Procedure Arguments, Arrays of Variants, Assignment of Arrays, Multiple Dimensions of Arrays