28,406
社区成员
发帖
与我相关
我的任务
分享
With New RegExp
.Pattern = "[\d\D]{60}"
.Global = True
htmlCode = .Replace(htmlCode, "$&<br/>")
End With
aaa = "abcdefg"
function insert(a,length)
result = ""
if len(a) > length then
leftStr = left(a,length)
rightStr= right(a,len(a)-length)
result = leftStr & "<br>" & insert(rightStr,length)
else
result = a
end if
insert = result
end function
Response.write insert(aaa,2)