public class Test public Shared Sub Main Dim s As String s = "VB.Net" If s Like "?B.Net" Then Console.WriteLine("'VB.Net' is Like '?B.Net'") End SubEnd class 'VB.Net' is Like '?B.Net'