Create a gist now

Instantly share code, notes, and snippets.

What would you like to do?
Como saber cuantos caracteres tiene un String en SWIFT
var cadena : String = "Cómo saber cuantos caracteres tiene un String en SWIFT"
print(cadena.characters.count)
//Output: 54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment