Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Parsing a text string
Message
De
15/02/2003 06:55:14
 
 
À
14/02/2003 22:45:34
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00753613
Message ID:
00753669
Vues:
25
Thanks Paul - just what I needed.

Gaylen
>>Is there a function where you can take a string which is delimited and convert the values in a string into an array. ex "2222 3333 4444 5555"?
>
>ALINES() will do that for you, at least in VFP 8.
>
>? ALINES(laX,"1111 2222 3333 4444",.f.," ")
>? lax[1] && 1111
>? lax[2]
>? lax[3]
>? lax[4] && 4444
>
>The 4th parameter is the character to use to parse the list. Without that parsing at " " characters you would only get one line.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform