0thenFori=1ToLen(x)WScript.echo"字符ANSI代码为:"&Asc(Mid(x,i,1))Next; 极乐门资源网更新日期:2024/11/8">

字符ANSI代码查询工具vbs版

(编辑:jimmy 日期: 2024/11/8 浏览:2)

复制代码 代码如下:
x=InputBox("请输入字符","提示","Test")
If Len(x)<>0 then
For i=1 To Len(x)
WScript.echo "字符 [" & Mid(x,i,1) & "] ANSI代码为: " & Asc(Mid(x,i,1))
Next
Else
MsgBox "请输入英文字符",64,"提示"
End if