this is my example string
I just want to cut off the NewlInes at the end so it will beCode:"abc" & Environment.NewLine & "x zy " & Environment.NewLine & Environment.NewLine & "ab c de " & Environment.NewLine & Environment.NewLine & Environment.NewLine
although this is only an example string, the string will be generated programatically so there could be only 1 newline at the end, or maybe 5 if you see what I meanCode:"abc" & Environment.NewLine & "x zy " & Environment.NewLine & Environment.NewLine & "ab c de "




Reply With Quote