返回列表 发帖

[VB] 中文如何成转换16进制

private sub form_load()
    dim b() as byte, i as long, s as string
    me.autoredraw = true
    s = "我爱vb"
    b = strconv(s, vbfromunicode)
    for i = 0 to ubound(b)
        print hex(b(i)); " ";
    next
end sub

返回列表

Powered by Discuz! 7.2   论坛QQ群:逐梦论坛群

© 2001-2021 Comsenz Inc. 鲁公网安备 37120302000001号