public static String upperCaseFirst ( String str ) { if ( str == null || str . equals ( EMPTY ) ) { return str ; } return Character . toUpperCase ( str . charAt ( 0 ) ) + str . substring ( 1 ) ; }
Upper case the first character of the supplied string .