This language bar is your friend. Select your favorite languages!
Select your favorite languages :
- Or search :
Idiom #286 Iterate over characters of a string
Print a line "Char i is c" for each character c of the string s, where i is the character index of c in s (not the byte index).
Make sure that multi-byte characters are properly handled, and count for a single character.