This function swaps the casing of each letter in a word. Iterates by code point so multi-byte characters (e.g. emoji) are preserved.
The word to convert.
The converted word.
This function swaps the casing of each letter in a word. Iterates by code point so multi-byte characters (e.g. emoji) are preserved.