2013年10月12日 星期六

asp-line next line

Question
How do I define a new line character in ASP?
Answer:
In ASP (VBScript), use the constant vbCrLF to add line breaks in your string variables:
strString = "Hello" & vbCrLF & "There"
The constant will do the same thing in C:
strString = "Hello \n There"

沒有留言:

張貼留言