I want to Remove the Line Break from the string if my string Ends with Line Break.
Sub linebreak(myString) If Len(myString) <> 0 Then If Rig
just this:
str = Replace(str, vbCrLf, "")