IT lexicon Programming String

String

Programming På svenska → Updated: 2026-05-23

A sequence of characters. What programs use for text.

Storage varies: ASCII (1 byte/char), UTF-8 (1-4 bytes), UTF-16 (Java/JS internally). Modern best practice: UTF-8 everywhere. Classic bugs: length in bytes vs chars vs grapheme clusters ("👨‍👩‍👧" is 7 unicode code points).

← Back to the lexicon