How to remove line break in a string using vbscript
Function LineBreak(myString) If Len(myString) <> 0 Then If Right$(myString, 2) = vbCrLf Or Right$(myString, 2) = vbNewLine Then LineBreak= Left$(myString, Len(myString) - 2) End If End If End Function
Comments
Post a Comment