ASP接特特殊符号问题
If BoardType<>"" Then Stats=BoardType上面这句,我想在这后面加个特殊符号"_"怎么加?
我试过BoardType & ("-")这种方式好像不行..
请教一下大虾怎么解决??
在线等.. Stats=BoardType&"_" 这种方式不行... Stats=BoardType&"_"
你的意思是说BoardType&"_"是个变量,而不是字符串连接? 总的代码是这样
动网的..
If ScriptName="index.asp" Then
If BoardType<>"" Then Stats=BoardType & (Left(Replacehtml(boardreadme),20)&"....")
ElseIf ScriptName <> "dispbbs.asp" Then
If BoardType<>"" Then Stats=BoardType &("-"&Stats)
End If
Stats=Replace(Stats,Chr(13),"")
stats=Replacehtml(stats)
运行后,浏览版块时index.asp时,就会有这"...."
如:在线音乐....裕川在线http://www.itlyc.com
但是用dispbbs.asp浏览主题时,他却不能用符号隔开
如:漂亮的夏天荷花http://www.itlyc.com
我想浏览主题时也会这样多个"_"符号 如:
漂亮的夏天荷花_http://www.itlyc.com 问题还没有解决
期待高手..
页:
[1]
