[DGD] Remove strings from strings

Lord Lerkista lerkista at planetatierra.net
Mon Dec 3 06:54:18 CET 2001


On Monday, December 3, 2001, at 05:49  AM, Chooser fireman wrote:

> Just a quick question this time ...
>
> I have a rather longs string and I need to remove an occurence of say 
> 'Test' from it ... however, I don't know the position of it.
>
> How can I go about remove 'Test' from the string?
>
> obviously String1 -= String2; won't work.
>
>

Mmmmmm

sscanf(string,"%sTest%s",first,second);
string=first+second;

_________________________________________________________________
List config page:  http://list.imaginary.com/mailman/listinfo/dgd



More information about the DGD mailing list