formadmirer
asked on
VFP 9 How To Parse Char String?
Hi all. I would like to be able to pull three words greater in length than 6 chars from a text string.
When parsing the string what I need is for the first word encountered where LEN => 6 to populate a form text field, then continue parsing the string, so that the second word matching populates a second form text field, and so on for a total of three text fields populated.
The object is to try and extract somewhat important keywords, while eliminating more common words, hence the 6 char minimum.
I don't know how to perform such a search on a string, so I'm hoping someone here can help me out. Thx!
When parsing the string what I need is for the first word encountered where LEN => 6 to populate a form text field, then continue parsing the string, so that the second word matching populates a second form text field, and so on for a total of three text fields populated.
The object is to try and extract somewhat important keywords, while eliminating more common words, hence the 6 char minimum.
I don't know how to perform such a search on a string, so I'm hoping someone here can help me out. Thx!
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Absolutely amazing! Super fast response with a solution that works perfectly for what I need.
Thank you so much!
Thank you so much!
You are welcome!
Or you mean by using substring or substr()