Hello,

In a VBScript, I would like to compare 2 strings. These strings are paths of differents installs. I would like to compare the path, because it could be the same. The problem is that these paths can be the same, but the string doesn't, because of case problem... and VBScript seems to be case-sensitive.

I would like to disable it, can I do that ? (Or do something else which could help me)
0 Comments   [ + ] Show Comments

Comments

Please log in to comment

Rating comments in this legacy AppDeploy message board thread won't reorder them,
so that the conversation will remain readable.

Answers

0
You could use:
if ucase(<string>) = ucase(<string2>) then
Answered 08/22/2005 by: AngelD
Red Belt

Please log in to comment
0
... I should really learn VbScript :-)

Thanks !
Answered 08/22/2005 by: babric
Senior Purple Belt

Please log in to comment
0
You're welcome :)
Answered 08/22/2005 by: AngelD
Red Belt

Please log in to comment
Answer this question or Comment on this question for clarity