⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 qqexp020.html

📁 包含大量VB常用函数 大概一百几十个左右 每个函数都有比较详细的说明 希望大家喜欢它啦
💻 HTML
字号:
<!doctype html public "-//w3c//dtd html 4.0 transitional//en">
<html>

<head>
<meta http-equiv="Content-Type" content="text/html">
<meta name="Generator" content="千千VB站 VB函数清单">
<meta name="GENERATOR" content="Microsoft FrontPage 4.0">
<meta name="ProgId" content="FrontPage.Editor.Document">
<title>千千VB站 VB函数清单</title>
</head>

<body text="#000000" bgcolor="#FFFFFF" link="#2020A0" vlink="#FF0000" alink="#FF0000">

<marquee><b><blink><font color="#000000">字符计算</font></blink></b></marquee>
<center>
<hr width="100%" szie="4">
</center>
<p>&nbsp;&nbsp;&nbsp; ●InStr(传回字串里某个字串在第几个字的位置)<br>
&nbsp;&nbsp;&nbsp; MyVal = InStr(Text1.Text, &quot;倩倩&quot;)<br>
&nbsp;&nbsp;&nbsp; MyVal = InStr(&quot;倩倩的VB网站&quot;, &quot;VB&quot;)<br>
&nbsp;&nbsp;&nbsp; MyVal = 4
<p>&nbsp;&nbsp;&nbsp; ●InStrB(传回字串里某个字串在第几个字符的位置)<br>
&nbsp;&nbsp;&nbsp; MyVal = InStrB(Text1.Text, &quot;倩倩姐&quot;)<br>
&nbsp;&nbsp;&nbsp; MyVal = InStrB(&quot;倩倩的VB网站&quot;, &quot;VB&quot;)<br>
&nbsp;&nbsp;&nbsp; MyVal = 7
<p>&nbsp;&nbsp;&nbsp; ●Len(传回字串有多少字数)<br>
&nbsp;&nbsp;&nbsp; MyVal = Len(MyStr)<br>
&nbsp;&nbsp;&nbsp; MyVal = Len(&quot;倩倩的VB网站&quot;)<br>
&nbsp;&nbsp;&nbsp; MyVal = 7
<p>&nbsp;&nbsp;&nbsp; ●LenB(传回字串有多少字符)<br>
&nbsp;&nbsp;&nbsp; MyVal = LenB(MyStr)<br>
&nbsp;&nbsp;&nbsp; MyVal = LenB(&quot;倩倩的VB网站&quot;)<br>
&nbsp;&nbsp;&nbsp; MyVal = 14
<p>&nbsp;&nbsp;&nbsp; ●StrComp(比较字串)<br>
&nbsp;&nbsp;&nbsp; MyVal = StrComp(MyStr1, MyStr2, 0)<br>
&nbsp;&nbsp;&nbsp; MyVal = StrComp(&quot;Abcd&quot;, &quot;abcd&quot;, 0)<br>
&nbsp;&nbsp;&nbsp; MyVal = -1<br>
&nbsp;&nbsp;&nbsp; MyVal = StrComp(&quot;Abcd&quot;, &quot;abcd&quot;, 1)<br>
&nbsp;&nbsp;&nbsp; MyVal = 0<br>
&nbsp;&nbsp;&nbsp; 传回值 = StrComp([字串1], [字串2], 比较模式)
<p>&nbsp;&nbsp;&nbsp; 传为值:<br>
&nbsp;&nbsp;&nbsp; 1 字串1 大于 字串2<br>
&nbsp;&nbsp;&nbsp; 0 字串1 等于 字串2<br>
&nbsp;&nbsp;&nbsp; -1 字串1 小于 字串2<br>
&nbsp;&nbsp;&nbsp; Null 字串1 与 字串2 都是 Null 字符
<p>&nbsp;&nbsp;&nbsp; 比较模式:<br>
&nbsp;&nbsp;&nbsp; 0 转成字码比较 (半型全型大小写不同)<br>
&nbsp;&nbsp;&nbsp; 1 字符比较 (半型全型大小写都相同)

</body>

</html>

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -