截取字符函数
if len(trim(rs("anclass")))>5 thenresponse.write left(trim(rs("anclass")),5)&".."
else
response.write trim(rs("anclass"))
end if
每次截取字符串的时候总象上述方法这么麻烦,请问各位大虾有没有更简单的方法,比如ASP是否有函数可以截取
2007-08-19 18:24
2007-08-19 18:29
2007-08-19 22:32
2007-08-20 08:33