force line break

Results 1 to 5 of 5

Thread: force line break

  1. #1
    Bailey Guest

    Default force line break

    Does anyone know how to force a linebreak in a FSO text stream? I have a custom deliminater <!--L--> where I would like to break up a text string into multiple lines when I export it to the stream. Basically, I need to pull out the info between each <!--L--> and then do a WriteLine, I guess, but I just can't seem to figure out how to do it. It would be easier for me if I can just replace the <!--L--> with something that represented a line break. Any help would be greatly appreciated. Thanks!

  2. #2
    Join Date
    Dec 1969

    Default RE: force line break

    Use the following:<BR><BR>chr(37) & chr(62)<BR><BR>This puts a line break.

  3. #3
    Markkk Guest

    Default RE: force line break

    Try something like:<BR><BR>REPLACE(stringvariable,"&LT;!--L--&#062;", VbCrLf)<BR><BR>where VbCrLf is the VBScript variable for a Carraige Return and Lien Feed.

  4. #4
    Bailey Guest

    Default RE: force line break

    THANKS A TON! I&#039;ll give it a shot!

  5. #5
    Bailey Guest

    Default On more question

    How do I read a string line by line. I know how to do this with a text file stream (readline), but is there anyway to do it with JUST a string. Many Thanks!

Posting Permissions

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