Link to home
Start Free TrialLog in
Avatar of vaultworld
vaultworld

asked on

How do you compare multiple strings at once

To: All

I would like to compare multiple strings at once.  I want to see if there all the same.

The below example doesn't work.

Dim stringA as String
Dim stringB as String
Dim stringC as String

stringA = "help"
stringB = "help"
stringC = "help"

if(stringA = stringB = stringC) Then
  MessageBox.show("all equal")
End If


ASKER CERTIFIED SOLUTION
Avatar of S-Twilley
S-Twilley

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of vaultworld
vaultworld

ASKER

Very Cool,  Thanks