How can I get the length of a String in Swift 2.0?
Oh, it is simple:
string.characters.count
Again more simplified version
In Swift 4.0 and Above
let strLength = string.count
Oh, it is simple:
string.characters.count
Again more simplified version
let strLength = string.count