碧眼之魔txt百度云:这段asp程序是什么意思?
来源:百度文库 编辑:中科新闻网 时间:2024/05/12 05:58:03
<%
function cutstr(tempstr,tempwid)
if len(tempstr)>tempwid then
cutstr=left(tempstr,tempwid)&"..."
else
cutstr=tempstr
end if
end function%>
function cutstr(tempstr,tempwid)
if len(tempstr)>tempwid then
cutstr=left(tempstr,tempwid)&"..."
else
cutstr=tempstr
end if
end function%>
tempstr截取tempwid长度吧