Search results

  1. B

    Delete an item in a comma separated list

    You got me. I thought JulieT's list is as simple as shown in her initial question and she knows the position of the entry in the list. Otherwise, your more generic function is well worth the overhead of a function call (not to mention how cumbersome my single-line statement is to maintain).
  2. B

    Delete an item in a comma separated list

    I prefer (IMHO) cgdev's solution, you can fix the problem with the last item as described below: assign xyz = replace(xyz,entry(<what ever entry in list>,xyz),'':U) /* remove entry */ xyz = replace(xyz,',,':U,',':U) /* remove doubled commas */ xyz = trim(xyz,',':U)...
Back
Top