public static final String capitalizeFirstChar ( String word ) { return Character . toUpperCase ( word . charAt ( 0 ) ) + word . substring ( 1 ) ; }
Capitalizes the first character of the word given . It will convert i to I