Skip to content

Instantly share code, notes, and snippets.

@arbo-hacker
Created May 16, 2017 21:11
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
Star You must be signed in to star a gist
Save arbo-hacker/45e5452af4b19e4fad18fcf4fd692a03 to your computer and use it in GitHub Desktop.
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