I'm using JEXL in Java in standard way:
var script = new JexlBuilder().create().createScript(jexlScript);
var jexlContext = new MapContext();
var returnString = (String) script.execute(jexlContext));
Let's say that jexScript looks like:
var paramA = 'AAAA';
var paramB = 'BBBB';
var command = paramA + '\n' + paramB;
return command;
Output is:
AAAA\nBBBB
My question is: How to introduce new line char to properly format this text? Or any other way to get new line separation in String creating in Jexl.