Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Obscenity word table
Message
 
 
À
24/08/2010 05:51:27
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Versions des environnements
Visual FoxPro:
VFP 9 SP1
OS:
Windows XP SP2
Divers
Thread ID:
01477715
Message ID:
01478102
Vues:
36
>>>But as I stated "I plan to have the most aggressive check I can, and permit the user to "certify" that the content is non-objectionable, but know someone is watching."
>>>
>>>I'd rather get a chuckle outta someone by mistaking an innocent "tally-ho", and have them confirm that it's not offensive, than to make no attempt at filtering offensive language.
>>
>>One of my favorite tricks is
>>
lcWords=" "+chrtran(lcText, "!"#$%&/()=?'+--_.:,;0123456789"+["], " ")+" "
>>llFound=atc(" "+lcSuspectWord+" ", lcWords)
>>to check whether the whole word is contained in it. Fox is blazingly fast if you do this one paragraph at a time.
>
>
>
lcWords=" "+chrtran(lcText, "!"#$%&/()=?'+--_.:,;0123456789"+["], " ")+" "
>
>Gotta "Missing Operand" error here, and I'm not smart enough to debug it!
>
>Thanks,
>
>dg

It's because of the 3rd character - remove " from the string.
If it's not broken, fix it until it is.


My Blog
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform