Skip to content
string

File:String_example.png · Wikimedia Commons · See Wikimedia Commons

EntityQ184754· pop 47· linked from 1,120 articles

Also known as character string

data type representing a finite sequence of encoded characters

Wikidata facts

Image
String example.png
Show 4 more facts
equivalent class
schema.org/Text
Commons category
String (computer science)
P13411
language
Sources (2)

via Wikidata · CC0

~34 min read

Article

Strings are typically made up of characters, and are often used to store human-readable data, such as words or sentences.

In computer programming, a string is traditionally a sequence of characters, either as a literal constant or as some kind of variable. The latter may allow its elements to be mutated and the length changed, or it may be fixed (after creation). A string is often implemented as an array data structure of bytes (or words) that stores a sequence of elements, typically characters, using some character encoding. More general, string may also denote a sequence (or list) of data other than just characters.

Gallery (2)

Connections

Categories