hi ,
I want to match 2 variables , so that it will be case sensitive if the variables differ in any character the result will be false
for example
car=CAR ' false
thanks
Printable View
hi ,
I want to match 2 variables , so that it will be case sensitive if the variables differ in any character the result will be false
for example
car=CAR ' false
thanks
not sure I understand u correct sjb, but if u do like this:
VB Code:
Private Sub Command1_Click() Dim s1 As String Dim s2 As String s1 = "car" s2 = "CAR" If s1 = s2 Then MsgBox "Match!" Else MsgBox "NO Match!" End If End Sub