PDA

View Full Version : Instr case insensitive



LoboMgr
11-27-2006, 04: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-27-2006, 11:42 PM
Hello,

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

Does this help?