截字符串 去除HTML标记

时间:2021-01-19 17:53:22
【文件属性】:
文件名称:截字符串 去除HTML标记
文件大小:29KB
文件格式:PDF
更新时间:2021-01-19 17:53:22
html代码 replace replace函数 <%‘**************************************************‘函数名:gotTopic‘作 用:截字符串,汉字一个算两个字符,英文算一个字符‘参 数:str —-原字符串‘ strlen —-截取长度‘返回值:截取后的字符串‘**************************************************function gotTopic(str,strlen)if str=”” thengotTopic=””exit functionend ifdim l,t,c, istr=replace(replace(replace(r

网友评论