8 个解决方案
#1
<%a = "1<br>1<br>1<br>"
response.Write(a)
a = replace(a,"<br>"," ")
response.Write(a)
%>
response.Write(a)
a = replace(a,"<br>"," ")
response.Write(a)
%>
#2
黏贴过来多了挺多空格嘛。
是这个意思么。
<%a = "1<br>1<br>1<br>"
response.Write(a)
a = replace(a,"<br>"," ")
response.Write(a)
%>
是这个意思么。
#3
这代表一个空格
#4
都不行的,我试来着。还是没动!
但是我把空格和《br》换个位置 就可以把空格过滤掉,
但是如果正过来怎么都不行
#5
用<pre>保持代码的格式
#6
把你不行的代码贴出来瞧瞧
#7
Strer = Replace(Strer,"<br>",CHR(32))
#8
其实还是不行.
我换了种方法.
#1
<%a = "1<br>1<br>1<br>"
response.Write(a)
a = replace(a,"<br>"," ")
response.Write(a)
%>
response.Write(a)
a = replace(a,"<br>"," ")
response.Write(a)
%>
#2
黏贴过来多了挺多空格嘛。
是这个意思么。
<%a = "1<br>1<br>1<br>"
response.Write(a)
a = replace(a,"<br>"," ")
response.Write(a)
%>
是这个意思么。
#3
这代表一个空格
#4
都不行的,我试来着。还是没动!
但是我把空格和《br》换个位置 就可以把空格过滤掉,
但是如果正过来怎么都不行
#5
用<pre>保持代码的格式
#6
把你不行的代码贴出来瞧瞧
#7
Strer = Replace(Strer,"<br>",CHR(32))
#8
其实还是不行.
我换了种方法.