@Nonnull
  public static String trimLeft(@Nonnull final String value) {
    final StringBuilder result = new StringBuilder(assertNotNull(value).length());
    int index = 0;
    for(;index<value.length();index++){
      final char chr = value.charAt(index);
      if (!(Character.isWhitespace(chr) || Character.isISOControl(chr))) break;
    }
    if (index<value.length()) {
      result.append(value, index, value.length());
    }
    return result.toString();
  }
@ Nonnull public static String trimLeft ( @ Nonnull final String value ) { final StringBuilder result = new StringBuilder ( assertNotNull ( value ) . length ( ) ) ; int index = 0 ; for ( ; index < value . length ( ) ; index ++ ) { final char chr = value . charAt ( index ) ; if ( ! ( Character . isWhitespace ( chr ) || Character . isISOControl ( chr ) ) ) break ; } if ( index < value . length ( ) ) { result . append ( value , index , value . length ( ) ) ; } return result . toString ( ) ; }
Trim left white spaces in string.
@param value string to be trimmed
@return trimmed string
@since 1.1.2