在VB6中使用LIKE关键字

bja*_*jan 1 vb6 keyword

我看到了一个示例代码如下

If numb Like "[0-9]" Then
End If
Run Code Online (Sandbox Code Playgroud)

numb是一个包含一个字符的字符串.

VB6中的LIKE关键字是什么?有没有可用的文件?

GSe*_*erg 6

像运算符(Visual Basic for Applications Reference)

用于比较两个字符串.

句法:

result = string Like pattern
Run Code Online (Sandbox Code Playgroud)

  • 我从1993年开始使用VB ......我不知道......我每天都学到东西:) (4认同)