Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Searching for characters
Message
De
24/01/2003 08:39:12
Hilmar Zonneveld
Independent Consultant
Cochabamba, Bolivie
 
 
À
24/01/2003 08:34:00
Henry Ravichander
RC Management Systems Inc.
Saskatchewan, Canada
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00744971
Message ID:
00745038
Vues:
27
>Hi Hilmar:
>
>Thank youf ro your response. It worked. How can this be modifed to check if characters appear in the entire string?

Of course, you could write a loop for the entire string, but that would be slow.

I think you can use chrtran(), something like this:
if upper(chrtran(MyString, AllLetters, "")) # upper(MyString)
  * ...
endif
Please note that I forgot upper() in my previous sample code.

HTH, Hilmar.
Difference in opinions hath cost many millions of lives: for instance, whether flesh be bread, or bread be flesh; whether whistling be a vice or a virtue; whether it be better to kiss a post, or throw it into the fire... (from Gulliver's Travels)
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform