- 打印本文 关闭窗口
- 检查字符串strSource是否为big或big5码
- 作者:采集员 文章来源:来源于网络 点击数: 更新时间:2005/9/10 13:27:04
- Public Function CheckBIG(strSource As String) As Boolean
Dim idx As Long
Dim ByteTemp() As Byte
CheckBIG = False
For idx = 1 To Len(strSource)
ByteTemp = StrConv(Mid(strSource, idx, 1), vbFromUnicode)
If UBound(ByteTemp) > 0 Then
If (ByteTemp(1) >= 64) And (ByteTemp(1) <= 126) Then
CheckBIG = True
Exit For
End If
End If
Next idx
End Function - 打印本文 关闭窗口