Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Is there a STRTRAN function which is not case sensitive
Message
 
To
All
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
Is there a STRTRAN function which is not case sensitive
Miscellaneous
Thread ID:
00650635
Message ID:
00650635
Views:
76
is there a Strtran function (or similar) which will replace text but in a case insensitive manner, e,g,

Abc=Strtran(MyFruit,'Apples','Coca Cola')
Abc=Strtran(MyFruit,'apples','Coca Cola')......

otherwise I will need to put every possible combination of 'Apples' in using Upper and lower case

I am using Strtran on a memo field, so it is not possible just to upper it first

Regards,

Gerard
Next
Reply
Map
View

Click here to load this message in the networking platform