My code doesn't remove the carriage return from the string:
Imports System
Imports Microsoft.VisualBasic
Public Module Module1
Public Sub Main()
Console.WriteLine("Hello World")
Dim s As String = "your string" + Chr(10) & Chr(13) + "testing".Replace(vbCrLf, "")
Console.WriteLine(s)
End Sub
End Module
dotnetfiddle: https://dotnetfiddle.net/4FMxKD
I would like the string to look like "your string testing"