Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Get the nth element of a list
Message
 
À
19/09/2003 06:37:14
Cetin Basoz
Engineerica Inc.
Izmir, Turquie
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00830591
Message ID:
00830602
Vues:
16
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
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform