A substring defines a portion of a string variable or string array element. This capability replaces the RIGHT$, LEFT$, MID$, REP$, and SEG$ functions of other Basics. A sub-string is selected by specifying a starting position within the string value, and optionally, either the length of the sub-string or the ending position within the string value. If only the starting position is specified, the rest of the string value from that point on is used for the sub-string. String positions are one-based, i.e., the first character of a string is in position one.
Numeric/String conversions can operate either on ASCII character values (i.e. CHR$(65)) or string representations of numbers (i.e. "65").