private static int seek(int index, String sP, ArrayList<Integer> funnyPeriodLocations) {
		boolean currval = isDelim(index, sP, funnyPeriodLocations);
		while (index < sP.length()
				&& isDelim(index, sP, funnyPeriodLocations) == currval)
			index++;
		if (index == sP.length())
			return -1;
		else
			return index;
	}