I apologize. My initial post was not very clear. I have an ascii string that contains escape sequences in their Hex representation. I need to handle these Hex escape sequences and need an algorithm that will do this. For example, if I ahve the following string
My name is John \7C.
I want to be able to escape the \7C and replace it with its ascii representation which is a |
If you have an algorithm that can process Hex escape sequences, that would be great...