加入收藏 | 设为首页 | 会员中心 | 我要投稿 李大同 (https://www.lidatong.com.cn/)- 科技、建站、经验、云计算、5G、大数据,站长网!
当前位置: 首页 > 百科 > 正文

VB中字符串常数

发布时间:2020-12-17 07:54:42 所属栏目:百科 来源:网络整理
导读:Since these constants are built into VBScript,you don't have to define them before using them. Use them anywhere in your code to represent the values shown for each. Constant Value Description Translate vbCr Chr(13) Carriage return. 回车符

Since these constants are built into VBScript,you don't have to define them before using them. Use them anywhere in your code to represent the values shown for each.

Constant Value Description Translate
vbCr Chr(13) Carriage return. 回车符。
VbCrLf Chr(13) & Chr(10) Carriage return–linefeed combination. 回车符和换行符。

vbFormFeed

Chr(12) Form feed; not useful in Microsoft Windows. 换页符,在Windows中不适用。
vbLf Chr(10) Line feed. 换行符。
vbNewLine Chr(13) & Chr(10) or Chr(10) Platform-specific newline character; whatever is appropriate for the platform. 平台指定的新行字符,适用于任何平台。

vbNullChar

Chr(0) Character having the value 0. ASCII码为0的字符。
vbNullString String having value 0 Not the same as a zero-length string (""); used for calling external procedures. 值为0的字符串,但和""不同。
vbTab Chr(9) Horizontal tab. 水平附签。
vbVerticalTab Chr(11) Vertical tab; not useful in Microsoft Windows. 垂直附签,在Windows中不适用。

(编辑:李大同)

【声明】本站内容均来自网络,其相关言论仅代表作者个人观点,不代表本站立场。若无意侵犯到您的权利,请及时与联系站长删除相关内容!

    推荐文章
      热点阅读