Comment on Swift BlogparentComments−JoshTheGeek12y countElements(string) returns the number of Unicode code points in a string. I'm not sure about the random character, though. Swift is very much oriented towards Unicode rather than bytes when it comes to strings.
Comments