[code]/* 2007-11-28 XuJian */ //截取字符串 包含中文处理 //(串,长度,增加...) function subString(str, len, hasDot) { var newLength = 0; var newStr = "";  ...
http://www.jb51.net//article/14210.htm
'=================================================='函数名:GetBody'作 用:截取字符串'参 数:ConStr ------将要截取的字符串'参 数:StartStr ------开始字符串'参 数:OverStr ------结束字符串'参 数:IncluL ------是否包含StartStr'参 数:IncluR ------是否包含OverStr'=...
http://www.jb51.net//article/11222.htm
截取字符串特定部分内容函数<%’******************************’函数:GetKey(HTML,Start,Last)’参数:HTML,待截取的原字符串;tart,截取开始标记;last,截取结束标记’作者:阿里西西’日期:2007/7/12’描述:截取字符串函数,从Start开始截取,到Last为结束’示例:<%=GetKey("阿里西西,国内最大的WEB开发资源","最大的","资源")%>’******************************Function GetKey(HTML,Start,Last)filearray=...
http://www.jb51.net//article/10872.htm
截取字符串<?php$string="2006年4月我又长大了一岁!";echo substr($string,1)."..."; //截取字符串 function SubstrGB($in,$num){ $pos=0; $out=""; while($pos<strlen($in)) { $c=substr($in,$pos,1); if($c=="\n") break; if(ord($c)>128)&nb...
http://www.jb51.net//article/6493.htm
1、纯粹的截取字符串[code]function cutstr(thestr1,strlen)dim l,t,cl=len(thestr1)if l<1 then exit functiont=0for dxy1=1 to lc=Abs(asc(Mid(thestr1,dxy1,1)))if c>255 thent=t+2elset=t+1end ifif t>=strlen thenthev=mid(thestr1,1,dxy1)exi...
http://www.jb51.net//article/733.htm
共有:5/10,当前1/1页
[首页] [上一页]
1
[下一页] [尾页]
转到:
