Remove line break with space

Hi .

I have the chain follower
I am using this command (PageCounter2.Replace (Environment.NewLine, String.Empty) .ToUpper) to remove line breaks and the string looks like this
How can I do that when I eliminate the line break that gives a space like this
S1234567 981
Thanks for your help


you can use like below

(PageCounter2.Replace (Environment.NewLine, " "). ToUpper)

It will add a whitespace

Hope this helpss



Thank you very much for your help I was drowning a glass of water

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.