removing characters from a string?
Carsten Gaebler
cg at schlund.de
Mon Jul 31 17:59:38 EDT 2000
I'd give re.sub() a try.
Carsten.
jesse at multimediacollective.com wrote:
> say I had a string.
>
> this_string = "jesse at multimediacollective.com"
>
> """and I wanted to get rid of the @, how would I do that? This
> process has to be efficent for removing large quantities of special
> characters, such as <,>,#,%,* etc, from the same string.
>
> Any advice would be very helpful. Thanks in advance, Jesse.
More information about the Python-list
mailing list