Blog Archives

VB.net String Compare Not Equal

To compare to string in VB.net like many other language you can’t just use the equal sign =¬†You have to use the .equal() function Dim firstString As String = “test” Dim secondString As String = “test” If (firstString.Equals(secondString)) Then ‘

Posted in Tips and Tricks, Windows Tagged with: , , ,