private String ltrim(String s){
  if (s == null) {
    return null;
  }
  int index=0;
  int len=s.length();
  while (index < len && Character.isWhitespace(s.charAt(index))) {
    index++;
  }
  return (index >= len) ? "" : s.substring(index);
}

private String ltrim ( String s ) { if ( s == null ) { return null ; } int index = 0 ; int len = s . length ( ) ; while ( index < len && Character . isWhitespace ( s . charAt ( index ) ) ) { index ++ ; } return ( index >= len ) ? "" : s . substring ( index ) ; }
trims specified string from left .
