How to get the real value of a variable including escape sequences in Java

soveurl

New Member
I am parsing from an xml document into an array.In my xml doc there are some line breaks notated in this format: \[code\]
\[/code\]My Eclipse console shows them correctly with a line break if i sysout the arraylist. But is it somehow possible to show what is really saved in that variable?Example:\[code\]sysout(myarray[1]);\[/code\]current output:\[code\]xyzxyz\[/code\]wanted output:(or something like that)\[code\]xyz\n\nxyz\[/code\]
 
Back
Top