Board2Death
Technical User
I have a string that has several CR and LF in it. The string was created using something along the line of:
str = "xxxxxx" & vbcrlf & " yyy" & vbcrlf & "zz"
I would like to know how to find the start of each new line within this string. I thought that the InStr function would be useful, but I can't seem to get it to work.
I am planning on printing the string in a text box, and I want the text to look like:
So I figured I would need to find the beginning of each line to accomplish this. TIA...
str = "xxxxxx" & vbcrlf & " yyy" & vbcrlf & "zz"
I would like to know how to find the start of each new line within this string. I thought that the InStr function would be useful, but I can't seem to get it to work.
I am planning on printing the string in a text box, and I want the text to look like:
Code:
New Value: xxxxxx
yyy
zz