Case sensitive string comparision

How do I compare two strings like this:

"HeY" = "Hey" - returns true
But with case sensitivity?

StrCS("HeY") = StrCS("Hey") - returns false

Btw StrCS, is just a function which I made up for the purpose of this example.


Lang.Ref : STRCOMP

If you are looking for non-case sensitive comparisons, try setting both strings to the same case using Lowercase(str) on both strings.

String comparisons are non-case sensitive by default. To get a case sensitive comparison, you must use StrComp as Dave suggests.