9448.html

来自「VB技巧问答10000例 VB技巧问答10000例」· HTML 代码 · 共 27 行

HTML
27
字号
<html>
  <head>
    <title>你确定是空字串吗?</title>
  </head>
  <body bgcolor="#FFFFFF" vlink="#808080">
    <center>
      <h1>你确定是空字串吗?</h1>
    </center>
<hr size=7 width=75%>

<hr size=7 width=75%><p>
Posted by <a href="mailto:yfwu@iname.com">小吴</a> on January 21, 1999 at 10:45:04:<p>
In Reply to: <a href="9418.html">back=Mscomm1.input    传回值会有空字串在资料前 用trim(back )也无法去除空字串</a> posted by PHON on January 20, 1999 at 18:12:30:<p>
试看看用 Asc 指令把收到的资料转成 ASCII 码,我想说不定是 0 喔! Chr(0) 是无法用 Trim 消去的。<br>RS-232 传输时在资料头尾收到一些乱码是很正常的,所以要加一些检查机制才能截取到正确的资料。<br>
<br>
<br><hr size=7 width=75%><p>
<a name="followups">Follow Ups:</a><br>
<ul><!--insert: 9448-->
<!--top: 9464--><li><a href="9464.html">Re: 你确定是空字串吗?</a> <b>PHON</b> <i>16:14:46 1/21/99</i>
(<!--responses: 9464-->0)
<ul><!--insert: 9464-->
</ul><!--end: 9464-->
</ul><!--end: 9448-->
<br><hr size=7 width=75%><p>

</body></html>

⌨️ 快捷键说明

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