Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
CSVtoArray
Message
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Titre:
Divers
Thread ID:
00596910
Message ID:
00596917
Vues:
28
>>Anyone have a routine built that will convert a string of comma seperated values to a 1 dimensional array, each value being it's own element? Thanks,
>>jfh
>
>
lcStr = "One, Two, Three"
>DIMENSION laArray[1]
>= ALINES( laArray, STRTRAN(lcStr, ",", CHR(13)))
>* in VFP 7
>= ALINES( laArray, lcStr, ",")
>
Thanks Sergey, I knew there was something, just couldn't remember the ALINES() function.
jfh
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform