Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Conditional STRTRAN
Message
De
09/02/2015 16:49:46
John Ryan
Captain-Cooker Appreciation Society
Taumata Whakatangi ..., Nouvelle Zélande
 
 
À
09/02/2015 12:18:03
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Versions des environnements
Visual FoxPro:
VFP 9 SP2
OS:
Windows 7
Network:
Windows 2008 Server
Database:
Visual FoxPro
Application:
Desktop
Divers
Thread ID:
01615018
Message ID:
01615052
Vues:
66
To delete rather than translating characters you can position them at the end of the cSearchExpression and shorten the cReplacementExpression.
lcBadchar="1234LMN"
lcReplace="****" &&no replacement chars for LMN
? CHRTRAN("Let Me Know the Number 3",m.lcBadchar,m.lcReplace) &&LMN erased
*--- returns et e Know the umber *
"... They ne'er cared for us
yet: suffer us to famish, and their store-houses
crammed with grain; make edicts for usury, to
support usurers; repeal daily any wholesome act
established against the rich, and provide more
piercing statutes daily, to chain up and restrain
the poor. If the wars eat us not up, they will; and
there's all the love they bear us.
"
-- Shakespeare: Coriolanus, Act 1, scene 1
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform