โŒจ๏ธap computer science principles review

String

Written by the Fiveable Content Team โ€ข Last updated August 2025
Verified for the 2026 exam
Verified for the 2026 examโ€ขWritten by the Fiveable Content Team โ€ข Last updated August 2025

Definition

A string is a data type in programming that represents a sequence of characters. It can store letters, numbers, symbols, and even empty spaces.