Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
String evaluation
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Versions des environnements
Visual FoxPro:
VFP 9 SP2
OS:
Windows Server 2008
Divers
Thread ID:
01520699
Message ID:
01521471
Vues:
89
>Hi all,
>
>i should like this condition :
>
>'ménage' = 'MENAGE'
>or
>'liège' = 'LIEGE'
>
>it's possible ?
>
>
>thank in advance

Salut Bernhard,

Une alternative au European.mem (pour éviter une dépendance supplémentaire).
*) Function..........: LOWASCII
*  Author............: Jose Constant
*  Project...........: COMMON
*  Created...........: 27/09/95  15:56:55
*  Copyright.........: (c) Terre Engineering, 1995
*) Description.......: Returns a low (<129) ASCII VALUE
*)                   : Remplace les caractères accentués par des caractères non accentuées
*)                   : Fonctionne en français et espagnol
*                    : *-- CHANGE - JCM - août 27, 2010 - 16:40:56
*                    : Ajouté "&" remplacé par " "
*  Calling Samples...:
*  Parameter List....: tcString
*  Major change list.:
FUNCTION LowASCII( tcString)

  RETURN UPPER(CHRTRAN(tcString, "éèêëàäâáöôóïîíüûúçñÉÈÊËÀÄÂÁÖÔÓÏÎÍÜÛÚÑ&", ;
    "eeeeaaaaoooiiiuuucnEEEEAAAAOOOIIIUUUN "))
ENDFUNC
José
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform