Hi! Yes, you can replace (sub)strings. Try something like this: ------------- import string str_to_modify = 'abc xpto abc' str_to_modify.replace('abc', 'new') ------------- you get the new string: 'new xpto new' I hope this help, Paula Mangas On Thu, 10 Jan 2002, Todd Loomis wrote:
Hi All:
I'm using the titles of my pages as the subject in my webmaster email links. However some of my titles use "&" and it seems that it breaks off the rest of the title after it. Can I replace the "&" with "&"? If so how and or do I need to do some thing else?
Thanks, Todd
_______________________________________________ Zope maillist - Zope@zope.org http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )