急用asp截字代码是什么啊?各位大哥帮帮忙哦
------解决方案--------------------
dim te
te= "你好你好你好 "
response.write left(te,2) '输出左边开始的2个字
------解决方案--------------------
left(rs( "te "),2)
------解决方案--------------------
<%if len(trim(rs( "title ")))> 22 then
response.write left(rs( "title "),20)& "…… "
else
response.write rs( "title ")
end if
%>