使用 LenB 函数确定字符串中的字节数
Const baseString As String = "Hello World"
Dim byteLength As Long
byteLength = LenB(baseString)
'byteLength = 22
Const baseString As String = "Hello World"
Dim byteLength As Long
byteLength = LenB(baseString)
'byteLength = 22