晕倒,呵呵打错了
晕倒,呵呵打错了
晕倒,呵呵打错了
2007-11-12 15:17
2007-11-13 00:58
<%
if len(replace(trim(rs("字段名")),"<br>",""))>10
response.write left(replace(trim(rs("字段名")),"<br>",""),10)& ""
else
response.write replace(trim(rs("字段名")),"<br>","")
%>

2007-11-14 17:21
2007-11-14 17:24
2007-11-15 09:16
用left函数时,不管中英文,一个汉字算一,一个英文也是算一
而在显示,知道中文是占两个字节,而英文是一个字节;如果出现中文时。。利用left函数有时会不准,虽然简单。

2007-11-15 14:00
2007-11-16 09:58