Strings are lengths of text that contain characters, numbers, or both. Strings are, however, treated in the computer as text. For example, a "string" of numbers cannot be used in arithmetic operations.