<%
function conleft(content,i)
if len(content)>i then
content=left(content,i)
response.write (content&"...")
else
response.write (content)
end if
end function
%>
以上為函數,下面就可以直接調用。
<%call conleft(rs("content"),10)%>
OK,相信以后遇到這些問(wèn)題應該是NO PROBLEM了。
這個(gè)主要是做成了函數;
聯(lián)系客服