Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

STREXTRACT()

Status
Not open for further replies.

DEDMOD

Programmer
Feb 1, 2001
721
US
I tried one of the new language enhancements in VFP 7 and found it quite nice. Those who find themselves doing a lot of 'AT()'s and 'ATC()'S and 'RAT()s should be able to save a lot of coding time. For example,

Code:
thisEMB = STREXTRACT(gline,"|","|",3)

pulls out what's between the 3rd and 4th pipe symbols in gline as thisEMB. Quick and simple! I needed it for a pipe delimited file I was parsing and my program worked first try out of the box! Dave Dardinger
 
Cool I had written my own parser funtion some years ago. nice to see they added the ability in 7. -Pete
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top