Skip to content

Glossary: Swift Basics

split and joined

Also written: split, joined, joined(separator:)

`split(separator:)` cuts a string into `Substring` parts, and `joined(separator:)` glues an array of strings into one string.

Where the book teaches it

Related terms

Substringarray