VB.Net Tutorial/Operator/is Like — различия между версиями
Admin (обсуждение | вклад) м (1 версия) |
|
(нет различий)
|
Версия 16:40, 26 мая 2010
String is Like "regular expressions *"
public class Test
public Shared Sub Main
Dim s As String
s = "VB.Net"
If s Like "*VB.Net" Then Console.WriteLine(""VB.Net" is Like "*VB.Net"")
End Sub
End class
"VB.Net" is Like "?B.Net"
String is Like "regular expressions ?" (question mark)
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 Sub
End class
"VB.Net" is Like "?B.Net"