Hopefully this should be an easy question. In java i think it\'s compareTo().
compareTo()
How do I compare 2 string variables to determine if they are the same?
I know this has been answered, but in VB.net above 2013 (the lowest I've personally used) you can just compare strings with an = operator. This is the easiest way.
=
So basically:
If string1 = string2 Then 'do a thing End If