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:
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"
沒有留言:
張貼留言