'汉字提取
Public Function HZGet(ByVal strscr As String) As String
Dim i As Integer
For i = 1 To Len(strscr)
If Asc(Mid(strscr, i, 1)) < 0 Then
HZGet = HZGet & Mid(strscr, i, 1)
End If
Next i
HZGet = HZGet
End Function
'英文和数字提取
Public Function YWGet(ByVal strscr As String) As String
Dim i As Integer
For i = 1 To Len(strscr)
If Asc(Mid(strscr, i, 1)) > 0 Then
YWGet = YWGet & Mid(strscr, i, 1)
End If
Next i
YWGet = YWGet
End Function