code: public static String toTitleCase(CharSequence input) {
        if (input == null) {
           return null;
        }
        return StringFunctions.TITLE_CASE.apply(input.toString());
     }
docs: Converts an input string to title case
  
  @param input The input string
  @return The title cased version of the input