设为首页收藏本站Access中国

Office中国论坛/Access中国论坛

 找回密码
 注册

QQ登录

只需一步,快速开始

返回列表 发新帖
查看: 1890|回复: 1
打印 上一主题 下一主题

急急!请问uncode字符如何在字段里提取

[复制链接]

点击这里给我发消息

1#
发表于 2005-9-10 17:08:00 | 显示全部楼层
这是专家门诊一书的判断中英文的例程,你可参考一下:

Public Function includeChinese(strString As String) As Boolean

    Dim i As Integer

    Dim intStrLen As Integer

   

    includeChinese = False

    intStrLen = Len(strString)

    For i = 1 To intStrLen

        Select Case Asc(Mid(strString, i, 1))

        Case Is > 128, Is < 0

            i = intStrLen + 1

            includeChinese = True

        End Select

    Next

End Function

您需要登录后才可以回帖 登录 | 注册

本版积分规则

QQ|站长邮箱|小黑屋|手机版|Office中国/Access中国 ( 粤ICP备10043721号-1 )  

GMT+8, 2024-5-16 01:33 , Processed in 0.091904 second(s), 23 queries .

Powered by Discuz! X3.3

© 2001-2017 Comsenz Inc.

快速回复 返回顶部 返回列表