2022年asp获取汉字字符串首字母的函数绝对可用[归 .pdf





《2022年asp获取汉字字符串首字母的函数绝对可用[归 .pdf》由会员分享,可在线阅读,更多相关《2022年asp获取汉字字符串首字母的函数绝对可用[归 .pdf(4页珍藏版)》请在淘文阁 - 分享文档赚钱的网站上搜索。
1、asp获取汉字字符串首字母的函数绝对可用时间: 2013-6-9 asp获取汉字字符串首字母的函数绝对可用function getpychar(char) tmp=65536+asc(char) if(tmp=45217 and tmp=45253 and tmp=45761 and tmp=46318 and tmp=46826 and tmp=47010 and tmp=47297 and tmp=47614 and tmp=48119 and tmp=49062 and tmp=49324 and tmp=49896 and tmp=50371 and tmp=50614 and tmp
2、=50622 and tmp=50906 and tmp=51387 and tmp=51446 and tmp=52218 and tmp=52698 and tmp=52980 and tmp=53689 and tmp=54481 and tmp=62289) then getpychar= Z else 如果不是中文,则不处理getpychar=char end if 名师资料总结 - - -精品资料欢迎下载 - - - - - - - - - - - - - - - - - - 名师精心整理 - - - - - - - 第 3 页,共 4 页 - - - - - - - - - end function function getpy(str) for i=1 to len(str) getpy=getpy&getpychar(mid(str,i,1) next end function 示例方法: 即可得到 tshcwl 参考资料: http:/ 名师资料总结 - - -精品资料欢迎下载 - - - - - - - - - - - - - - - - - - 名师精心整理 - - - - - - - 第 4 页,共 4 页 - - - - - - - - -
- 配套讲稿:
如PPT文件的首页显示word图标,表示该PPT已包含配套word讲稿。双击word图标可打开word文档。
- 特殊限制:
部分文档作品中含有的国旗、国徽等图片,仅作为作品整体效果示例展示,禁止商用。设计者仅对作品中独创性部分享有著作权。
- 关 键 词:
- 2022年asp获取汉字字符串首字母的函数绝对可用归 2022 asp 获取 汉字 字符串 首字母 函数 绝对 可用

限制150内