Press ESC to close


The String is a basic struct in Swift. It represents the Unicode string as a collection of characters in code. Thanks to its deep integration in the language, you can use convenience initializers (double quote) to create a new one. The struct contains many useful methods and properties often used for strings operations.