Hi all,
What I want: to force a line break after the first space after the 30th character.
What I have that doesn't work:
This is as close as I've gotten, but it puts a line break after every space.
What have I missed?
Thanks!
What I want: to force a line break after the first space after the 30th character.
What I have that doesn't work:
Code:
Dim strCondNotes
strCondNotes = rs("mfldConditionNotes")
Replace(strCondNotes,(Mid(strCondNotes,(InStr(30,strCondNotes," ")),1))," " & "<br>")
This is as close as I've gotten, but it puts a line break after every space.
What have I missed?
Thanks!