Delete data in delimited string

Garrett Hylltun garrett at paraboliclogic.com
Sun Feb 26 03:27:06 EST 2006


On Feb 26, 2006, at 12:06 AM, Martin Baxter wrote:

> 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

Figures it was something as obvious and simple as that!  :-)

Thanks a bunch :-)
-Garrett



More information about the use-livecode mailing list