code: private static int indexOf(final String s, final char searchChar, final int beginIndex, final int endIndex) {
  		for (int i = beginIndex; i < endIndex; i++) {
  			if (s.charAt(i) == searchChar) {
  				return i;
  			}
  		}
  		return -1;
  	}
docs: Returns the index within the specified string of the first occurrence of the specified search
  character.
  
  @param s the string to search
  @param searchChar the character to search for
  @param beginIndex the index at which to start the search
  @param endIndex the index at which to stop the search
  @return the index of the first occurrence of the character in the string or <tt>-1</tt>