如何判断字符是全角还是半角
1个回答
展开全部
Function isbanjiao(ByVal mystr As String) As Boolean
isbanjiao = mystr = StrConv(mystr, vbNarrow)
End Function
Function isquanjiao(ByVal mystr As String) As Boolean
isquanjiao = mystr = StrConv(mystr, vbWide)
End Function
isbanjiao = mystr = StrConv(mystr, vbNarrow)
End Function
Function isquanjiao(ByVal mystr As String) As Boolean
isquanjiao = mystr = StrConv(mystr, vbWide)
End Function
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询