public class Test
public Shared Sub Main
Dim strName As String = "Visual Basic Express"
If Microsoft.VisualBasic.Left(strName, 3) = "Vis" Then Console.WriteLine("True")
If strName.StartsWith("Vis") Then Console.WriteLine("True")
End Sub
End class
True
True