In programming, a string is a way of referring to a sequence of characters, either as a literal constant or as a variable. Swift provides us with lots of functions to interact with them. In this chapter, we will dive into the Swift library for Strings and explore different ways to manipulate them efficiently.
7.1 Append character to string
I want to append a character to an existing string.