02-21-2013, 04:12 PM
Well you could always press the backspace key...
Or, you can do something like this
[code2=vbnet]Public Function OneLine(ByVal toFix As String) As String
Dim returnString As String = ""
Dim lines() As String = toFix.Split(vbNewLine)
For Each line As String In lines
returnString = returnString & line
Next
Return returnString
End Function[/code2]
Or, you can do something like this
[code2=vbnet]Public Function OneLine(ByVal toFix As String) As String
Dim returnString As String = ""
Dim lines() As String = toFix.Split(vbNewLine)
For Each line As String In lines
returnString = returnString & line
Next
Return returnString
End Function[/code2]