s/// would also work, but it is quite a bit faster to use tr///.
In reply to Re: Strip bad characters from a string by chromatic in thread Strip bad characters from a string by chucka6