Compound data type, syntax of bracket operator

Compound data type: data type consisting of smaller pieces

Data type string: compound data type consisting of letters

Selecting a single string with the bracket [] operator:

LETTER = STRING[J]

with:

STRING, a variable of data type string

J, index, a variable of data type integer

LETTER, a letter of STRING (note: LETTER is also of type string)