val transform: (String) -> String
the function which capitalizes the given string to the mode's format