Convert Raw Text Escaped Characters to Characters

N

nicholas.wakefield

Hi,

I've done this before but can't remember how. I have a string which
contains values like
"hello\013Goodbye\a"

The application is putting them into a string but escaping them, so
they end up as "hello\\013Goodbye\\a

What I really want is the character '\013' not the string "\013".

How do I unescape them.

Thanks
 
N

nicholas.wakefield

Really useful answer, thanks. Now old age can be a problem but I think
getting up at 5am was the problem today.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,733
Messages
2,569,440
Members
44,831
Latest member
HealthSmartketoReviews

Latest Threads

Top