Another option is using GETWORDNUM()
lcStr="23,5,18,8,12"
nCount = OCCURS(",",lcStr)
? nCount
FOR i = 1 TO nCount+1
? GETWORDNUM(lcStr,i,",")
ENDFOR
>I have a string that is supplied to my program from another that for some reason I cannot remember how to extract the values between the commas.
>
>For example, I need to do some processing on a small string, "23,5,18,8,12", and return to my procedure 23 5 18 8 12
>
>I do not need to store it, I know how to append with this but I just want to process the numbers or possibly the characters.