asp忽略中英文截取字符串
来源:互联网 发布:网络综艺特点 编辑:程序博客网 时间:2024/06/07 17:01
Function cutStr(str,strlen)
dim l,t,c
l=len(str)
t=0
for i=1 to l
c=Abs(Asc(Mid(str,i,1)))
if c>255 then
t=t+2
else
t=t+1
end if
if t>=strlen then
cutStr=left(str,i)
exit for
else
cutStr=str
end if
next
cutStr=replace(cutStr,chr(10),"")
end Function
- asp忽略中英文截取字符串
- asp计算字符串长度 忽略中英文
- [转]asp.net区分中英文字符串截取
- ASP如何计算中英文混合字符串长度和截取字符串
- ASP如何计算中英文混合字符串长度和截取字符串 .
- asp截取中英文字符
- 中英文字符串截取
- 中英文截取字符串
- 截取中英文混合字符串
- JavaScript截取中英文字符串
- java截取中英文字符串
- 中英文字符串截取
- 截取中英文混合字符串
- 中英文混合字符串截取
- 截取中英文字符串长度
- 中英文混合字符串截取
- PHP截取中英文字符串
- lua 截取中英文字符串
- 如何判断sql server数据库中的image,text,ntext类型字段是否为NULL?
- Windows下的Memcache安装
- PB对数据库字段varchar类型255的限制问题
- asp去除字符串中的html标记
- 对分区表进行alter-switch时遇到的错误
- asp忽略中英文截取字符串
- ASP.NET AJAX入门系列(1):概述
- [转]C# 向web网站GET、POST 数据
- 美化js系统函数alert,confirm,prompt,并实现lightbox效果
- asp计算字符串长度 忽略中英文
- SQL Server 2000 查询分析器快捷键大全
- 笔记本xp和vista无线互联共享Internet
- 创建unique约束与unique索引的区别
- 常用的mount和unmount命令