private static boolean isDelim(int index, String sP, ArrayList<Integer> funnyPeriodLocations) {
		boolean result = true;
		char c = sP.charAt(index);
		if (Character.isDigit(c)) {
			result = false;
		}
		if (c == '.' && index != sP.length()-1) {
			if (index > 0 && index < sP.length()) {
				if (!funnyPeriodLocations.contains(index) && Character.isDigit(sP.charAt(index + 1))
						&& Character.isDigit(sP.charAt(index - 1 ))) {
					funnyPeriodLocations.add(index);
				}
				if (funnyPeriodLocations.size() % 2 == 1) {
					result = false;
				}
			}
		}

		return result;
	}