string.replace

Oleg Broytmann phd at phd.russ.ru
Fri May 5 09:30:56 EDT 2000


On Fri, 5 May 2000 rei05 at gmx.de wrote:
> so i tried string.replace(s,"'","\'"), but this doesn`t work. anyone any

string.replace(s,"'","\\'")

   :)))

Oleg.            (All opinions are mine and not of my employer)
---- 
    Oleg Broytmann      Foundation for Effective Policies      phd at phd.russ.ru
           Programmers don't die, they just GOSUB without RETURN.





More information about the Python-list mailing list