jodd-lagarto/src/main/java/jodd/lagarto/Scanner.java
protected final int find(final char target, int from, final int end) {
		while (from < end) {
			if (input[from] == target) {
				break;
			}
			from++;
		}

		return (from == end) ? -1 : from;
	}
protected final int find(final char target, int from, final int end) {
		while (from < end) {
			if (input[from] == target) {
				break;
			}
			from++;
		}

		return (from == end) ? -1 : from;
	}
protected final int find ( final char target , int from , final int end ) { while ( from < end ) { if ( input [ from ] == target ) { break ; } from ++ ; } return ( from == end ) ? - 1 : from ; }
Finds a character in some range and returns its index.
Returns <code>-1</code> if character is not found.
Finds a character in some range and returns its index . Returns <code > - 1< / code > if character is not found .