Sometimes, one might want to iterate through a large string, but string_char_at is slow, and the use scenario doesn't quite fit string_foreach. For these situations, I suggest a string_to_char_array, ...
UTF-8 is a variable length encoding. The module uses an array where each single or multi-byte UTF-8 character is one array element. Array manipulations can be used on this UTF-8 character array. To ...