Strings as Sequences

Work with text safely and efficiently.

Lesson 16 of 20
75%

Concept

Strings behave like sequences of characters. Prefer immutable operations or builders; be mindful of Unicode and casing.

Immutability Warning
Repeated concatenation in tight loops can be slow; use join/builders.