Replacing text with document.replace()

HI,

I am working on a project in a .txt file and I want to do the following:

I want to convert this:
θž’εΉ•ζˆͺεœ– 2023-06-07 δΈ‹εˆ4.02.05

to this:
θž’εΉ•ζˆͺεœ– 2023-06-07 δΈ‹εˆ4.02.24

in other words, I am trying to replace the linebreaks with nothing, such that all strings concatenates to the same line while conserving the commas. Is this possible?

strVar.Replace(Environnment.NewLine, "")

1 Like

inputStr.Replace(Environnment.NewLine, β€œβ€)

1 Like

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