VB6 字符串比较是否不区分大小写? [英] Is VB6 string comparison case insensitive?

查看:16
本文介绍了VB6 字符串比较是否不区分大小写?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

如果 strValue = 'Hello' 那么 (strValue <> 'HELLO') 的值是多少?

if strValue = 'Hello' then what would be the value of (strValue <> 'HELLO') be?

推荐答案

这取决于您如何使用 选项比较 语句.它可以以任何一种方式工作.

It depends on how you use the Option Compare statement. It can work either way.

Option Compare Text 'Case insensitive'
Option Compare Binary 'Case sensitive (default)'

这是一个 VB6 字符串教程.

这篇关于VB6 字符串比较是否不区分大小写?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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