-
-
Save fitomad/7d10cf2c03f6b6faa37993166251da3d to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
let numeros: String = "0123456789" | |
// Recuperamos el número de caracteres | |
// que contiene el String | |
let caracteres: Int = numeros.count | |
print("Hay \(caracteres) caracteres") | |
/* | |
Hay 10 caracteres | |
*/ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment