private static int skipWhite ( char [ ] part , int startPos ) { for ( int i = startPos ; i < part . length ; i ++ ) { if ( ! Character . isWhitespace ( part [ i ] ) ) { return i ; } } return part . length ; }
Return new position or - 1 on error