Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
STRTRAN not matter the case sensitive
Message
From
25/09/1997 16:20:31
 
 
To
25/09/1997 16:16:15
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00051652
Message ID:
00051659
Views:
33
>>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.
Edward Pikman
Independent Consultant
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform