Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Get the nth element of a list
Message
 
To
19/09/2003 06:37:14
Cetin Basoz
Engineerica Inc.
Izmir, Turkey
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00830591
Message ID:
00830602
Views:
19
Many thanks to all of you. I must have my blinker on today I couldn't see the command for looking :-)

>>Is there a quick way to get the nth element of a comma delimited list? I thought there was an nth() command but I must be mistaken. Is it best to convert the list to an array?
>>
>>Many thanks
>>Caroline
>
>GetWordNum(lcStr,lnElement,lcDelimiters)
>
>? GetWordNum('hello,there',2,',')
>
>PS: Not all versions have GetWordNum() built-in but it's in foxtools.fll.
>
>Cetin
Caroline
Previous
Reply
Map
View

Click here to load this message in the networking platform