HELP: String manipulation question from a newbie

namking at my-deja.com namking at my-deja.com
Thu Aug 17 05:45:41 EDT 2000


Thanks everybody,
I'll try that out now.

Niall.



In article <8necrt$n$1 at nnrp1.deja.com>,
  namking at my-deja.com wrote:
> 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.
>


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



More information about the Python-list mailing list