Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Get the nth element of a list
Message
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00830591
Message ID:
00830598
Views:
16
Caroline,

If you are using VFP 7+ then you could use the following.
? GetWordNum(lcSource, 1, ",")
If you want to find the number of elements in the source string then you can use the following.
lnTotal = GetWordCount(lcSource, ",")
Previous
Reply
Map
View

Click here to load this message in the networking platform