I'm trying to delete an item in a comma separated list. The delete method seems not to work unless the variable is in a frame.
For example: clist = "1,2,3,4,5".
I need it to be "1,3,4,5" if certain conditions are true.
Currently it is done by traversing the list with a do i = 1 to num-entries(clist) and rebuilding the list - this seems excessive.
I can use replace but have to make sure I take out extra commas also.
Is there an easier way?
Thanks,
JulieT
For example: clist = "1,2,3,4,5".
I need it to be "1,3,4,5" if certain conditions are true.
Currently it is done by traversing the list with a do i = 1 to num-entries(clist) and rebuilding the list - this seems excessive.
I can use replace but have to make sure I take out extra commas also.
Is there an easier way?
Thanks,
JulieT