public static String toInitialCase(String s) {
        if (isBlank(s)) return s;
        if (s.length() == 1) return s.toUpperCase();
        return s.substring(0, 1).toUpperCase() + s.substring(1);
    }
public static String toInitialCase ( String s ) { if ( isBlank ( s ) ) return s ; if ( s . length ( ) == 1 ) return s . toUpperCase ( ) ; return s . substring ( 0 , 1 ) . toUpperCase ( ) + s . substring ( 1 ) ; }
Makes the initial letter upper-case.
@param s the string
@return first letter is now in upper-case