-
May 18th, 2015, 03:22 PM
#1
Thread Starter
Addicted Member
[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.
-
May 18th, 2015, 03:50 PM
#2
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.
-
May 18th, 2015, 04:01 PM
#3
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
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|