I have a String:
c:\build\target.
This comes from an external source, passed directly as it is. I cannot modify it before using it in a javascript.
However \b and \t are special characters, but I’d simply like to print it (or work with it) as it looks like, not as it is interpreted c:uild arget.
How is it possible?
You could try:
But there maybe some other problems, because you have to catch all the other special chars