Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Parsing Strings
Message
De
06/07/2000 17:25:51
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Titre:
Divers
Thread ID:
00389092
Message ID:
00389158
Vues:
18
>Is there a SPLIT function like VB has to parse a string by a delimiter passed to the function and return an array? I can certainly write my own but it seems there should be one already avaliable just can't put my finger on it.

Simply you can do:

ALines(laArray, strtran(lcString, lcDelemiter, chr(13)))

The only thing you have to worry is if lcString already contains carraige returns and line feeds.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform