Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Get the nth element of a list
Message
De
19/09/2003 06:41:59
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00830591
Message ID:
00830599
Vues:
17
>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

Caroline,

this ?
GETWORDNUM(cString, nIndex[, cDelimiters])

nth = GetWordNum('1,2,3,4', 2, ',')
Gregory
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform