Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Remove empty and non-alpha chars in string?
Message
De
11/01/2003 08:17:46
Hilmar Zonneveld
Independent Consultant
Cochabamba, Bolivie
 
 
À
11/01/2003 08:08:53
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00740604
Message ID:
00740615
Vues:
19
>Thank you Cetin. Although a little more complicated solution than Hilmar's, it will be worth to check it out.
>Thank you for your time.
>
>Ulises

I tried it, and think that you should definitely use Çetin's solution; it is much more complete than the one I gave you. strtran() only eliminates one specified character at a time; what you really need is something like "keep only letters", and that is exactly what Çetin's solution does.

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