Aspfunctionreturnsstringthat'samixtureofnewlinesand 的问题
创始人
2024-09-20 03:30:20
0

使用Asp函数Response.Write输入含有换行符的字符串,具体代码如下:

<%@ Language="VBScript" %>
<%
Function multilineString()
  multilineString = "这是第一行" & vbNewLine & _
                    "这是第二行" & vbCrLf & _
                    "这是第三行" & chr(10) & _
                    "这是第四行"
End Function

Dim myString
myString = multilineString()
Response.Write myString
%>

其中,vbNewLine表示vb换行符,vbcrlf表示windows换行符,chr(10)表示linux换行符。

相关内容

热门资讯

透视中牌率!aa poker辅... 透视中牌率!aa poker辅助(透视)透视脚本(果然真的是有挂)1、透视中牌率!aa poker辅...
透视工具!aa poker透视... 透视工具!aa poker透视软件(透视)辅助插件工具(本来是有挂)透视工具!aa poker透视软...
透视插件!aapoker透视脚... 透视插件!aapoker透视脚本(透视)真的假的(果然真的是有挂);aapoker透视脚本辅助器中分...
透视苹果版!aapoker安装... 透视苹果版!aapoker安装包怎么使用(透视)透视脚本下载(都是有挂);运aapoker安装包怎么...
透视数据!aapoker怎么设... 透视数据!aapoker怎么设置提高好牌几率(透视)免费透视脚本(竟然有挂);1、aapoker怎么...
透视模拟器!aapoker怎么... 透视模拟器!aapoker怎么控制牌(透视)免费透视脚本(一直有挂)一、aapoker怎么控制牌AI...
透视了解!aapoker真的假... 透视了解!aapoker真的假的(透视)透视脚本(本来是真的有挂);1、许多玩家不知道aapoker...
透视数据!aapoker怎么设... 透视数据!aapoker怎么设置抽水(透视)免费透视脚本(本来是真的有挂)1、完成aapoker怎么...
透视透视!aapoker ai... 透视透视!aapoker ai插件(透视)透视脚本下载(原来是真的有挂)1、上手简单,内置详细流程视...
透视挂透视!aapoker插件... 透视挂透视!aapoker插件下载(透视)透视软件(总是存在有挂)1、aapoker插件下载透视辅助...