Skip to content

Instantly share code, notes, and snippets.

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