private int getSectionEndIndex(int start, char terminator) {
		int i = start;
		do {
			i++;
			if(i == arg.length()) {
				// The string is never terminated
				return -1;
			}
		} while(arg.charAt(i) != terminator);
		return i;
	}