Strings and Text

Work with text using Unicode-safe strings.


Strings and Characters

struct String

A Unicode string value that is a collection of characters.

struct Character

A single extended grapheme cluster that approximates a user-perceived character.

Encoding and Storage

enum Unicode

A namespace for Unicode utilities.

Compile-Time Strings

struct StaticString

A string type designed to represent text that is known at compile time.

See Also

Values and Collections

Numbers and Basic Values

Model data with numbers, Boolean values, and other fundamental types.


Store and organize data using arrays, dictionaries, sets, and other data structures.