0 votes
1.2k views
asked in Swift by (2.6k points)

Hi

  In Swift how to count the number character in string?

1 Answer

0 votes
answered by (4.2k points)

Hello

    “To retrieve a count of the characters in a string, call the global countElements function and pass in a string as the function’s sole parameter:

 

let unusualMenagerie = "Koala

Categories

...