【发布时间】:2017-08-24 11:12:24
【问题描述】:
我必须声明一个变量,我需要在其中保留多个句子(vbscript 是我使用的语言)。因此,我将 vbCrLf 放在句子的末尾以便休息一下。但这并没有让我休息,而是给了我一个完整的段落。
strHtmlBody = "<div><font face='Arial' size='-1'>Greetings "& RS("firstname") &":"& vbCrLf & _
"Here is the email that contains your account information to access your account at www.example.com." & VbCrLf & VbCrLf & _
"Your Email Address: " & RS("Email") & VbCrLf & _
"Your Password : " & RS("Password") & VbCrLf & vbCrLf & _
"Remember, if you have any questions or concerns, please let us know, simply reply to this email." & VbCrLf & _
"ABC Company" & vbCrLf & _
"http://www.example.com" & vbCrLf & vbCrLf
strHtmlBody = strHtmlBody & "</div>"
【问题讨论】:
-
从代码内容来看,这很可能是使用Classic ASP和VBScript作为脚本语言。
标签: html vbscript asp-classic