Apple Wiki
Advertisement
Apple Wiki

A string is a sequence of characters.

Description[]

Most programming languages consider characters and strings (e.g. "124:shabooya:\n", "hello world") to be distinct from numbers, which are typically stored in fixed-length binary or floating-point representation.[1]

Variations[]

  • A bit string, such as a byte or word, is a sequence of bits.[1]
  • A Procrustean string, named after the Greek legend of Procrustes, is a fixed-length string. If a string value is too long for the allocated space, it is truncated to fit. If it is too short, then it is padded out, usually with spaces or null characters.[2]

References[]

External links[]

Utility stub shuffle This article is a stub. You can help by expanding it.
FOLDOC logo This page uses GFDL licensed content from the Free On-line Dictionary of Computing.
Advertisement