question: protected static int findNextNewLineChar ( CharSequence s , int start ) { for ( int i = start ; i < s . length ( ) ; i ++ ) { if ( s . charAt ( i ) == '\n' ) { return i ; } } return - 1 ; }
target:  find '\n' from "start" position if not find, return -1