public static String lowerFirstChar(String string){
  if (string == null)   return null;
  if (string.length() <= 1)   return string.toLowerCase();
  StringBuilder sb=new StringBuilder(string);
  sb.setCharAt(0,Character.toLowerCase(sb.charAt(0)));
  return sb.toString();
}

public static String lowerFirstChar ( String string ) { if ( string == null ) return null ; if ( string . length ( ) <= 1 ) return string . toLowerCase ( ) ; StringBuilder sb = new StringBuilder ( string ) ; sb . setCharAt ( 0 , Character . toLowerCase ( sb . charAt ( 0 ) ) ) ; return sb . toString ( ) ; }
changes the first letter of the passed string to lower case .
