Remove no-printable characters in string

From: Pascal (pascal.parent_at_free.fr)
Date: 12/03/03


Date: 3 Dec 2003 02:44:34 -0800

Hello,

What's the best way to delete or replace no-printable characters in a string.
i.e.: "\x08toto\x00titi" -> "tototiti" or " toto titi"