Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Case insensitive strtran()
Message
De
26/04/2001 14:11:25
 
 
À
26/04/2001 13:58:22
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00499747
Message ID:
00500281
Vues:
52
Which existing string? The Expression string (param 1)?
It won't change the case of the expression string.
Though it will only work if the entire searched for string is all one case.

>I can't do the 'first' because it will change the case of the existing string. >
>
>>You mean to replace, e.g., "VALUE" or "value"

>>The first is easy
>>lcReplace="Test"
>>lcExpression="This is a test TEST"
>>? Strtran(Strtran(lcExpression, Lower(lcReplace), lcReplace), Upper(lcReplace), lcReplace)
Insanity: Doing the same thing over and over and expecting different results.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform