|
![]() |
名片设计 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的中文日期字符串 · ASP程序实现在HTML中显示文章被阅读的次数 · 数据库查询中的特别字符的问题 |
![]() ![]() |
快精灵印艺坊 版权所有 |
首页![]() ![]() ![]() ![]() ![]() ![]() ![]() |