PDA

View Full Version : Instr case insensitive



LoboMgr
11-27-2006, 05:12 PM
I'm searching for a pattern in the path environment variable, using Instr. It appears to be case sensitive, but of course we know that Windows doesn't distinguish between C: and c:. Is there a way to make Instr case insensitive?
Thx!

linder
11-28-2006, 12:42 AM
Hello,

Yes. Just use InStrI ;-) Same as InStr() but not case sensitive.

Does this help?