Results 1 to 3 of 3

Thread: [RESOLVED] Separate Block of Text...

  1. #1

    Thread Starter
    Addicted Member
    Join Date
    Sep 2013
    Posts
    190

    Resolved [RESOLVED] Separate Block of Text...

    I have a block of text that has the > sign littered throughout. The block of text has no carriage returns, which I need after each > sign. How is this possible?

    Thank you.

    Edit:
    The block of text is in a String... not in a TextBox or File.

  2. #2
    PowerPoster
    Join Date
    Feb 2006
    Posts
    24,482

    Re: Separate Block of Text...

    For VB6 just use a Replace$() call, for VB5 look for functions that replicate Replace$().

    While you say you want CRs, more likely you want CRLFs instead.

  3. #3
    PowerPoster
    Join Date
    Jan 2008
    Posts
    11,074

    Re: Separate Block of Text...

    ".....which I need after each > sign."

    If I read this correctly I would say you would use the Replace like this:

    TextString = Replace$(TextString, ">", ">" & vbCr) or ....., ">" & vbCrLf)
    Last edited by jmsrickland; May 18th, 2015 at 04:09 PM.


    Anything I post is an example only and is not intended to be the only solution, the total solution nor the final solution to your request nor do I claim that it is. If you find it useful then it is entirely up to you to make whatever changes necessary you feel are adequate for your purposes.

Tags for this Thread

Posting Permissions

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



Click Here to Expand Forum to Full Width