Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Pickup first characters in a string
Message
 
 
À
23/08/2002 13:48:06
Dragan Nedeljkovich (En ligne)
Now officially retired
Zrenjanin, Serbia
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00692996
Message ID:
00693072
Vues:
21
Dragan,

Then simply localize the string of lower case letters to a #define or a lookup if the app really needs to deal with multiple languages.

chrtran() is going to be an order of magnitude faster (probably 2 orders faster than the RegExp solution) than the other solutions that involve several lines of VFP code along with several function calls.

>Exactly what I wanted to write - and I like this better, because it's language independent. Any solution where we list "abcd..xyz" will break in any other language except English and Latin.
df (was a 10 time MVP)

df FoxPro website
FoxPro Wiki site online, editable knowledgebase
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform