Utility function for something done a lot in this package.
apply_to_chars(text, .f, ...)
A character scalar to process.
The function to apply to each character. Should return a character scalar, given a single-character input.
Other arguments to pass to .f.
The character scalar obtained by applying the given function to each character of the input string, and concatenating the results.