|
![]() |
名片设计 CorelDRAW Illustrator AuotoCAD Painter 其他软件 Photoshop Fireworks Flash |
|
dim WINNT_CHINESE WINNT_CHINESE = (len("论坛")=2) function strLength(str) ON ERROR RESUME NEXT if WINNT_CHINESE then dim l,t,c dim i l=len(str) t=l for i=1 to l c=asc(mid(str,i,1)) if c<0 then c=c+65536 if c>255 then t=t+1 end if next strLength=t else strLength=len(str) end if if err.number<>0 then err.clear end function 返回类别: 教程 上一教程: WINDOWS 2003下不注册组件用ASP发邮件 下一教程: 为你的ASP程序制作一个编译组件(下) 您可以阅读与"判定文章中文字符数量"相关的教程: · 检测含有中文字符串的实际长度 · 获得ASP的中文日期字符串 · 正则表达式结合数组提取文章中的文件名 · 中文虚拟域名实现(1) · ASP中字符串函数的应用 |
![]() ![]() |
快精灵印艺坊 版权所有 |
首页![]() ![]() ![]() ![]() ![]() ![]() ![]() |