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;
}

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 ; }
find ' \ n ' from " start " position if not find , return - 1
