For more playgrounds like this, visit http://hackswift.co/playgrounds
This covers the different operations that can be done on Swift Strings and Characters
- String Literals
- Strings are Value Types
- Counting Chars
- Concatenation
- Interpolation
- Comparison
- Unicode Representations
Keep this handy and copy-paste the required snippets into your projects.
Feel free to suggest modifications, report issues or improvements in the issues section.
Follow us on Twitter : @hackswift