public int findNext(String s, int index, boolean increase) {
		while(index >= 0 && index < s.length()) {
			char ch = s.charAt(index);
			if(ch >= '0' && ch <= '9') return index;
			else if(ch >= 'a' && ch <= 'z') return index;
			else if(ch >= 'A' && ch <= 'Z') return index;
			if(increase) index++;
			else index--;
		}
		return -1;
	}