code: public static String capitalize( String s ) {
  
  		String result = s;
  		if( ! Utils.isEmptyOrWhitespaces( s ))
  			result = Character.toUpperCase( s.charAt( 0 )) + s.substring( 1 ).toLowerCase();
  
  		return result;
  	}
docs: Capitalizes a string.
  @param s a string
  @return the capitalized string