I really don't know how to search for this, not finding much on google. so say I have a string like this:
I want to print it to the console, and I want it to show up as:
Rather than the literal string.
I'm working with XML stuff and for debug purposes I have it print out the raw XML but it's all bunched up in one line and hard to read I just want it to actually "parse" the \r\n instead of actually displaying it.
Code:
This is a line \r\nThis is another line
I want to print it to the console, and I want it to show up as:
Code:
This is a line
this is another line
Rather than the literal string.
I'm working with XML stuff and for debug purposes I have it print out the raw XML but it's all bunched up in one line and hard to read I just want it to actually "parse" the \r\n instead of actually displaying it.