In a string, I want to replace all the characters between ASCII value of 0-32 and 127-255 to spaces. I have been breaking my head for 4 days and but not able to find the solution.
Asked
Active
Viewed 592 times
1 Answers
0
There is no shortcut for replacing ranges, but you can use the SUBSTITUTE
function to replace each individual character.
=SUBSTITUTE(string,
SYMBOL(0), " ",
SYMBOL(1), " ",
// etc.
SYMBOL(254), " ",
SYMBOL(255), " ")

Bo Persson
- 90,663
- 31
- 146
- 203
-
Thank you so much for your response Bo. – Sarah Apr 02 '17 at 04:11