Progress 4GL how to count the number of delimiters in a string for use with index function

Status
Not open for further replies.
D

Donna

Guest
This code

disp entry(5,"1 2 3 4"," ").


Returns an error because entry 5 is outside the range.

How do I count the number of delimiters in the string so that I don't attempt accessing an entry that doesn't exist?

Continue reading...
 
Status
Not open for further replies.
Top