Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
String evaluation
Message
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Environment versions
Visual FoxPro:
VFP 9 SP2
OS:
Windows Server 2008
Miscellaneous
Thread ID:
01520699
Message ID:
01521471
Views:
91
>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é
Previous
Reply
Map
View

Click here to load this message in the networking platform