I have a problem here. I have a string that have some characters that are not from normal ascii characters, e.g NUL, SOH (start of heading), STX (start of text), EXT (end of text), CR (carriage return), LF (line feed), etc.
I need to replace all those chars with space characters. I am thinking of using hex code. e.g replace 0 with 20 (0 - hex code for nul, 20 hex code for space). How can i do this?
Is there any way for me to replace those characters in my string with space.?