直角转弯前的三点一线:这段asp程序是什么意思?
来源:百度文库 编辑:杭州交通信息网 时间:2024/05/08 20:19:08
<%
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长度吧