string.replace

rei05 at gmx.de rei05 at gmx.de
Fri May 5 09:05:09 EDT 2000


hi there,
i have a string s and i need to replace the substring "'" (i.e. the symbol
with ascii 146) with the substring "\'"; 
so i tried string.replace(s,"'","\'"), but this doesn`t work. anyone any
better idea?
thanx, rei

-- 
Sent through GMX FreeMail - http://www.gmx.net





More information about the Python-list mailing list