Tagged: String

There are 10 items tagged #String.
And there a lots of other tags to explore.

Different ways to check if a string contains another string in Swift

Learn how to check if a string contains another string, numbers, uppercased/lowercased string, or special characters.

Different ways to compare string in Swift

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.

How to convert a String to an Int in Swift

Learn to convert a string "123" to an integer 123.

Different ways to sort an array of strings in Swift

Learn a proper way to sort an array of strings in each circumstance.

How to specify fractional digits for formatted number string in Swift

Learn how to format a Float and Double string.

How to Add inline images with text in SwiftUI

In iOS 14, we have a new way to put images along with texts.

Different ways to check for String suffix in Swift

Learn how to get a suffix from a Swift string.

Different ways to check for String prefix in Swift

Learn how to get a prefix from a Swift string.

How to compare two app version strings in Swift

Learn how to check your app version strings are higher or lower.

How to split a string into an array of substrings in Swift

Learn different ways to split a string into an array of substrings.

See all tags.