private static int findStartTrimWhitespace ( CharSequence s ) { final int len = s . length ( ) ; for ( int i = 0 ; i < len ; i ++ ) { if ( ! Character . isWhitespace ( s . charAt ( i ) ) ) { return i ; } } return len ; }
Finds and returns the start of the given sequence after trimming whitespace characters from the left .