Elementary Data Types - Strings There are two kinds of strings: - Variable-length string A variable-length string is a sequence of up to 32,767 characters. The codes for these characters range from 0-127 for regular ASCII (American Standard Code for Information Interchange) characters, and from 128-255 for the extended-ASCII characters. See the on-line for examples of each type. - Fixed-length string A fixed-length string contains a declared number of characters, no more than 32,767. Like variable-length strings, a fixed-length string contains characters with codes ranging from 0-255.