Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
StrExtract()
Message
 
To
04/06/2008 14:14:23
Jay Johengen
Altamahaw-Ossipee, North Carolina, United States
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
Environment versions
Visual FoxPro:
VFP 9 SP2
Miscellaneous
Thread ID:
01321672
Message ID:
01321728
Views:
18
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
Previous
Reply
Map
View

Click here to load this message in the networking platform