Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Case insensitive compare?
Message
From
26/11/2002 16:19:21
Hilmar Zonneveld
Independent Consultant
Cochabamba, Bolivia
 
 
To
26/11/2002 11:18:11
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00727057
Message ID:
00727302
Views:
8
>I thought I ran across a function in VFP7 once up a time that allowed comparisons of two strings regardless of either one's case and return a .T. if for instance that 'ABC' = 'abc'. Is there such a function?

In addition to the other replies you got: if you do SET COLLATE TO "GENERAL", comparisons are not case sensitive. The same with most other collation sequences, other than "MACHINE".

Hilmar.
Difference in opinions hath cost many millions of lives: for instance, whether flesh be bread, or bread be flesh; whether whistling be a vice or a virtue; whether it be better to kiss a post, or throw it into the fire... (from Gulliver's Travels)
Previous
Reply
Map
View

Click here to load this message in the networking platform