Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Upper and lower case
Message
From
13/12/2013 17:00:26
 
 
To
12/12/2013 03:32:10
General information
Forum:
Visual FoxPro
Category:
COM/DCOM and OLE Automation
Environment versions
Visual FoxPro:
VFP 9 SP2
OS:
Windows Server 2012
Network:
Windows 2008 Server
Database:
MS SQL Server
Application:
Web
Miscellaneous
Thread ID:
01589964
Message ID:
01590201
Views:
42
thanks Thierry - good advice - will do.
k

>1/ == is safer than $ (eg, also matches 'xlsx1')
>2/ Lower() on the shortest string is faster
>
>if Lower(Justext(m.lcFileName)) == 'xlsx'
>
>
>>I realize after I wrote this that I can force the variable into lower case as a solution
>>lower(lcFileName)
>>I assume the characters XLSX and xlsx are different species in terms of ansi numbers and that it may not be possible to reconcile.
>>k
>>
>>>is there a function that accepts upper AND lower case - right now my program (excerpt below) only detects lower
>>>
>>>
>>>if 'xlsx' $ Justext(lcFileName)  = .T.
>>>
Previous
Reply
Map
View

Click here to load this message in the networking platform