Learn how to turn ["John", "Alice", "Bob"] into "John, Alice, Bob".
There might be several reasons that cause this error. I will share the solution that works for me.
If you need a string that spans several lines, Swift has a multiline string literal that you can use.
Learn how to uppercase to only the first letter of a word and sentence.
Find out what is the SwiftUI way of styling portions of text.
Learn how to check if a string contains another string, numbers, uppercased/lowercased string, or special characters.
String comparison is an essential operation for day to day job. Swift provides a few variations for this. We will visit them in this article.
Learn to convert a string "123" to an integer 123.
Learn a proper way to sort an array of strings in each circumstance.
Learn how to format a Float and Double string.
In iOS 14, we have a new way to put images along with texts.
Learn how to get a suffix from a Swift string.
Learn how to get a prefix from a Swift string.
Learn how to check your app version strings are higher or lower.
Learn different ways to split a string into an array of substrings.
See all tags.