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.
Printable View
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.
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.
".....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)