As input I get the string "some text\\nsome text"
-> so shown as "some text\nsome text"
.
How is it possible to delete one backslash and get
"some text\nsome text"
-> shown as
"some text
some text"
That will work also for other special characters like "\t"
?
With regex it's possible to do only like
textLine.replace("\\n", "\n") and so on.
Is there another way?