Delete data in delimited string

Martin Baxter mb.ur at harbourhost.co.uk
Sun Feb 26 03:06:44 EST 2006


Garrett Hylltun wrote:
> Greetings,
> 
> How do I delete one field of data from a delimited string?  Such as:
> 
> item 1,item 2, item 3, item 4
> 
> And I want to delete "item 3" from the delimited string so that I end  
> up with:
> 
> item 1,item 2, item 4
> 
> 
> Thanks,
> -Garrett

put "Ya,boo,hoo" into tmp
delete item 2 of tmp
put tmp

:-) HTH

Martin Baxter



More information about the use-livecode mailing list