How Logic Works

String

A sequence of characters — letters, numbers, symbols, spaces — treated as text by the program.

Definition

A sequence of characters — letters, numbers, symbols, spaces — treated as text by the program. Strings are always wrapped in quotes.

Example

greeting = 'Hello, world!' — this stores the text Hello, world! as a string variable.

See it in context Learn how String fits into the bigger picture of how software actually works.

Read the Guide →