VB6中的LIKE关键字 [英] LIKE keyword in VB6

查看:233
本文介绍了VB6中的LIKE关键字的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我看到了下面的示例代码

I saw an example code as below

If numb Like "[0-9]" Then
End If

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

Here numb is a string holding one character.

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

What is the LIKE keyword in VB6? Is there any documentation available?

推荐答案

类似运算符(Visual Basic for Applications参考)

用于比较两个字符串.

Used to compare two strings.

语法:

result = string Like pattern

这篇关于VB6中的LIKE关键字的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆