Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
STRTRAN not matter the case sensitive
Message
De
25/09/1997 16:21:51
 
 
À
25/09/1997 16:20:31
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00051652
Message ID:
00051661
Vues:
45
>>>You could call strtran twice:
>>>REPLACE mymemo WITH STRTRAN(mymemo,'my text','new text')
>>>REPLACE mymemo WITH STRTRAN(mymemo,UPPER('my text'),'new text')
>>>but for case of mixed case you should write custom function/procedure/method.
>>
>>Yes, this is excatly where the problem is. I've found that in some cases, the replace value is mixed.
>
>Michel, I got an idea! Use ATC() function (which is not case-sensitive) in loop.

Excellent idea. Thanks.
Michel Fournier
Level Extreme Inc.
Designer, architect, owner of the Level Extreme Platform
Subscribe to the site at https://www.levelextreme.com/Home/DataEntry?Activator=55&NoStore=303
Subscription benefits https://www.levelextreme.com/Home/ViewPage?Activator=7&ID=52
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform