ascii character - removing chars from string

Fredrik Lundh fredrik at pythonware.com
Tue Jul 4 12:08:32 EDT 2006


bruce wrote:

> i've done the s.replace('\xa0','') with no luck.

let me guess: you wrote

     s.replace("\xa0", "")

instead of

     s = s.replace("\xa0", "")

?

</F>




More information about the Python-list mailing list