Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
String to Array
Message
De
31/01/2001 14:36:34
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Titre:
Divers
Thread ID:
00470612
Message ID:
00470855
Vues:
39
>>>=alines(arrayname, strtran(string, ",", chr(13)))
>>
>>Very simple and very goog!!!
>
>Luis,
>
>Read the whole thread. This approach doesn't work with multiple delimiters. For this particular case it's good and fast.

Sure it does. You just use nested STRTRAN()'s. And, in VFP 7, ALINES() has a new parameter to specify additional delimiters, so you won't even need STRTRAN().

Tamar
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform