- Code: Select all
if (currentToken.equalsIgnoreCase("PRINT"))
{
while (lineTok.hasMoreTokens())
{
String newTok = lineTok.nextToken();
System.out.println(substitute(newTok,"""," "));
}
}
but get 'unclosed string lateral' error message when i try to compile. Anyone know why, or know a better way to remove " ?
Thanks


