Find & Replace in Zope

Steven Taschuk staschuk at telusplanet.net
Sat Jun 7 12:14:05 EDT 2003


Quoth Noam Cassif:
> Tring to find a sign in a string and replace it by "" (nothing)

    >>> 'abc'.replace('b', '')
    'ac'

I don't see what this has to do with Zope; perhaps I'm missing
something.

-- 
Steven Taschuk             "[W]e must be very careful when we give advice
staschuk at telusplanet.net    to younger people: sometimes they follow it!"
                             -- "The Humble Programmer", Edsger Dijkstra





More information about the Python-list mailing list