Results 1 to 5 of 5

Thread: vbcrlf

  1. #1
    Join Date
    Dec 1969

    Default vbcrlf

    How do you use vbcrlf within a asp page ?<BR>I dont get the line break when I use it.

  2. #2
    Join Date
    Dec 1969

    Default RE: vbcrlf

    If your using it to get html to carrage return then nothing will happen. However if you are using it for a database string or something then you smiply use it like this:<BR><BR>MyVar = "They call me" & vbcrlf & "Mellow Yellow!"<BR><BR>an alternative is to use the carrage return character it&#039s self, well its ascii value any way, like so:<BR><BR>MyVar = "They call me" & chr(13) & "Mellow Yellow"<BR><BR>Hope that helps<BR><BR>Pete

  3. #3
    Skippie Guest

    Default RE: vbcrlf

    If you use it to write a message for an email it will work.<BR><BR>-- Skippie<BR>

  4. #4
    Eitan Davis Guest

    Default RE: vbcrlf

    If you want a line break on the html form write:<BR>&#060;% Reponse.Write ("<BR>") %&#062;

  5. #5
    Bob Ellison Guest

    Default Thanks

    Thanks for the 3 answers gentlemen.<BR><BR>Yes I was trying to use it to get html to line break.<BR><BR>Still need to get my head around the fact that the <BR>ASP code turns into html......

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts