>Thank you for your message. In fact this message coplies with UN IFCSUM D 01A.
>
>what i need to be able to take each line as per rule of the segment. i do agree with there are a EDI mapping software avaliable and he learning curve are steep and costly. I was aiming to be able to use some of fox text function to be able to parse the line.
I'd suggest looking at the WSH's VBScript.RegExp object - a Regular expression parser implemented as a COM object callable from VFP quite easily. If you search my older messages, you'll find a number dealing with using it in VFP; as a reference I recommend Wrox Press' "VBScript Programmer's Reference Guide" which covers the object in detail, albeit from a VBScript standpoint, but the syntax is very close to the Fox syntax.