Contar caracteres en String / Counting characters in a string

/*To check how many characters are in a string, we use the countElements function.*/ (countElements(stringNameHere)); //Basic Example: var myString = "Here is my string, lets count the characters!" println(countElements(myString)); //Returns 45 //Another example with some fluff around it. println("myString has \(countElements(myString)) characters")

Be the first to comment

You can use [html][/html], [css][/css], [php][/php] and more to embed the code. Urls are automatically hyperlinked. Line breaks and paragraphs are automatically generated.