Page 1 of 1

How to remove item from list

Posted: Mon May 23, 2011 3:28 pm
by hudsonj
In a list of items how can I remove one of the items.

put "a,b,c,d,e,f" into titems

I would like to remove the c from titems and leave the rest alone.

Even nicer is a way to remove item 3 from the list.

Thank you

Re: How to remove item from list

Posted: Mon May 23, 2011 3:41 pm
by Klaus
Hi hudsonj,

...
delete item 3 of tItems
## -> a,b,d,e,f
...
:D

Check "itemdelimiter" (default = COMMA) in the dictionary for further info about "items" etc...


Best

Klaus

Re: How to remove item from list

Posted: Mon May 23, 2011 5:06 pm
by jmburnod
Hi hudsonj,

If you have only the value of the item you can use itemoffset

put itemoffset(c,titems) into LeNum
delete item Lenum of titems

All the best

Jean-Marc