Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
StrExtract()
Message
 
À
04/06/2008 14:14:23
Jay Johengen
Altamahaw-Ossipee, Caroline du Nord, États-Unis
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Titre:
Versions des environnements
Visual FoxPro:
VFP 9 SP2
Divers
Thread ID:
01321672
Message ID:
01321728
Vues:
19
An alternative to Edward's is to pass 2 as the last parameter to strtran and then take care of the ~, if necessary, only in the last entry, so I presume it would run faster
m.String = STREXTRACT(m.test, "*", "*", 4, 2)
The last string would have the ~, but you can just get rid of it easily outside of the loop I presume you are using
"The five senses obstruct or deform the apprehension of reality."
Jorge L. Borges?

"Premature optimization is the root of all evil in programming."
Donald Knuth, repeating C. A. R. Hoare

"To die for a religion is easier than to live it absolutely"
Jorge L. Borges
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform