Subj : Re: String Removal
To   : Cyclops
From : Tracker1
Date : Thu Apr 13 2006 01:44 am

Cyclops wrote:
> How would one say...  Ok, I KNOW that string1 is in string2, I want to REMOVE
> string1 from string2, how do I do that?
>
> I know in older days of programming you had to split a string into 3 different
> sections and resplice them together.
>
> Is that still the most efficient method?

string1 = string1.replace(string2, "")

--
Michael J. Ryan - tracker1(at)theroughnecks(dot)net - www.theroughnecks.net
icq: 4935386  -  AIM/AOL: azTracker1  -  Y!: azTracker1  -  MSN/Win: (email)

---
� Synchronet � theroughnecks.net - you know you want it