Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Populating variables
Message
 
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Environment versions
Visual FoxPro:
VFP 8 SP1
OS:
Windows XP SP1
Network:
Windows 2000 Server
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01028044
Message ID:
01028099
Views:
14
Neil,

My favorite way to deal with this is to just always add one and then remove the one bad one, no messy IFs involved:
lcConcatenatedString = ""
for i = 1 to n
   lcConcatenatedString = lcConcatenatedString + "," + transform( i )
endfor

lcConcatenatedString = substr( lcConcatenatedString, 2 ) && pull off the initial ,
>Im getting confused on putting the commas in and how to stop putting a comma in if it is the last email address found. Can anybody help me please?
df (was a 10 time MVP)

df FoxPro website
FoxPro Wiki site online, editable knowledgebase
Previous
Reply
Map
View

Click here to load this message in the networking platform