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!
Printable View
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!
Hello,
Yes. Just use InStrI ;-) Same as InStr() but not case sensitive.
Does this help?