static int findNonWhitespace ( String sb , int offset ) { int result ; for ( result = offset ; result < sb . length ( ) ; result ++ ) { if ( ! Character . isWhitespace ( sb . charAt ( result ) ) ) { break ; } } return result ; }
Find the first non whitespace