I am very new to VB, but I have taking C# for a couple of years now. I decided to learn VB, which is somewhat easier. I am working on an assignment for school, and I know there is an easier way to ...
In Visual Basic I'd write this: If stringVariable IsNot Nothing then Dim x as Integer x = stringVariable.Length End If I test the string for null/nothing because if I try to get the Length of a ...