I need to do this:
while (result2.charAt(j)!=\'\\\'){ }
I get an error saying: Invalid character constant.
Invalid character constant
Why? a
You need to escape it I think,
So you need to do
while(results2.charAt(j)!='\\') { }
I think that's the solution I think