HELP: String manipulation question from a newbie

namking at my-deja.com namking at my-deja.com
Wed Aug 16 11:44:03 EDT 2000


Hi, please help me,
I don't need to learn python, and indeed I don't have the time to
All I need to do is insert a few lines into a pre-existing program that
will:

find the first occurrence of the substring "body_" in a string (called
URL)
and strip it out,

e.g. if URL="http://www.xxx.com/body_welcome.html" I want to change it
to "http://www.xxx.com/welcome.html".

Cany anyone help me?
Niall


Sent via Deja.com http://www.deja.com/
Before you buy.



More information about the Python-list mailing list