#297 \n in string value

open
nobody
Parsing (77)
5
2007-07-15
2007-07-15
shay tes
No

ClassManagerImpl classManager = new ClassManagerImpl();
NameSpace global = new NameSpace(classManager, "FlowLevel embedded BeanShell interpreter");
Interpreter bshIntepreter = new Interpreter(null,System.out,System.err,false,global);

String str = "String _result = \"aaaa\nbbbb\";";

bshIntepreter.eval(a);

Cant evaluate string when there is an \n or \r character

my application get input from the user

Discussion


Log in to post a comment.