Subj : String Removal
To : Cyclops
From : Digital Man
Date : Wed Apr 05 2006 05:03 pm
Re: String Removal
By: Cyclops to All on Wed Apr 05 2006 02:42 pm
> How would one say... Ok, I KNOW that string1 is in string2, I want to REMOV
> string1 from string2, how do I do that?
>
> I know in older days of programming you had to split a string into 3 differe
> sections and resplice them together.
>
> Is that still the most efficient method?
JavaScript provides the String.replace() method which works well for this.
digital man
Snapple "Real Fact" #3:
Beavers can hold their breathe for 45 minutes under water.
Norco, CA WX: 56.1�F, 61% humidity, 6 mph WSW wind, 1.12 inches rain/24hrs
---
� Synchronet � Vertrauen � Home of Synchronet � telnet://vert.synchro.net