Skip to content

Glossary: Swift Basics

string interpolation

Also written: interpolation

Putting a value or calculation inside a string by writing `\(` and `)` around it, like `"\(name) owes $\(total)"`.

Where the book teaches it

Related terms

StringFoundation