[stackoverflow] [progress Openedge Abl] How To Create Comma Separated Value In Progress...

Status
Not open for further replies.
B

BobNoobGuy

Guest
newbie question here.

I need to create a list. but my problem is what is the best way to not start with a comma?

eg:

output to /usr2/appsrv/test/Test.txt.
def var dTextList as char.
for each emp no-lock:
dTextList = dTextList + ", " + emp.Name.
end.
put unformatted dTextList skip.
output close.


then my end result is

, jack, joe, brad


what is the best way to get rid of the leading comma?

thank you

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