<%
function xx(string,i)
if len(string)>i then
string=left(string,i)
response.write (string&"...")
else
response.write (string)
end if
end function
%>
调用函数:<%call xx(rs("title"),10)%>
<%
function xx(string,i)
if len(string)>i then
string=left(string,i)
response.write (string&"...")
else
response.write (string)
end if
end function
%>
调用函数:<%call xx(rs("title"),10)%>