![]() |
|
|
+ Search |
![]()
|
Mar 2nd, 2002 15:09
William, Vince Kavanagh, Kaustav Acharya,
vbCRLF (Visual Basic Carriage Return Line Feed) is the VB shortcut for;
Chr(13) & Chr(10), it is very useful for formatting output to email
scripts.
i.e
"First Name : " & Session("Fname") & vbCRLF &
"Last Name : " & Session("Lname") & vbCRLF
-------------------------------------------------------
If you're coding something in ASP, such as:
<%
Response.Write("My name is William. ") & vbCRLF
Response.Write("I am 22 years old, and ") & vbCRLF & vbCRLF & vbCRLF
Response.Write("I love ASP programming!")
%>
... and View Source from within IE or Netscape, you'll see exactly what
these do! Play with "& vbcrlf" as much as you like, adding it as many
times as you feel necessary, to get the jist of how it works.
Good luck!
© 1999-2004 Synop Pty Ltd