Hi everyone,
Sorry if this is blatently obvious but i am new to programming.
My problem is with this piece of code:

currEx = in.charAt(currSubStr);

Java says the following:

Exception in...