范本吉编辑:这段asp程序是什么意思?
来源:百度文库 编辑:高考问答 时间:2024/07/08 21:26:52
<%
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长度吧