Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Pickup words from a phrase
Message
De
19/07/2008 19:17:04
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
01332487
Message ID:
01332570
Vues:
8
>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.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform