line break in string

Results 1 to 3 of 3

Thread: line break in string

  1. #1
    stefan Guest

    Default line break in string

    hi,<BR><BR>i have problems to get a simple line break into my text-string. this is how i put together the message i want to send via e-mail.<BR><BR>message = name & "
    " & profession & "
    " & age<BR><BR>you see, i come from the unix/linux-world... but "
    " doesn&#039t work.<BR><BR>please help!<BR><BR>thanks alot,<BR>stefan

  2. #2
    Join Date
    Dec 1969

    Default RE: line break in string

    Depending on how your file is being read, a text line break and carriage return is chr(13)&chr(10)<BR><BR>If you are sending the text to an email client that reads HTML ( and you are sending using the HTML protocol) you can just use normal HTML such as <BR><BR><BR>DC

  3. #3
    Join Date
    Dec 1969

    Default RE: line break in string

    try appending the intrinsic constant vbCRLF, e.g.<BR><BR>strTemp = author & vbCRLF & birthdate & vbCRLF

Posting Permissions

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