Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Pickup words from a phrase
Message
From
19/07/2008 19:17:04
 
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
01332487
Message ID:
01332570
Views:
9
>I creating spam rules for my email application
>
>Suppose I have the subject line below
>
>"In the future cars will run without fuel"
>
>I would like to pickup all the words of the phrase and store them in a table,
>so that every single word is a record of the table spam_rule1.dbf
>
>In
>the
>future
>cars
>will
>run
>without
>fuel
>
>Then I all I need is delete the records that I think are not spam words
>
>Please help me to pickup words from a phase
>
>Moises

You might be able to use
ALINES(aTemp,myString,.T.," ")
you may have some work to do stripping out punctuation.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform