I want to use the Replace function in VBScript to replace all line breaks in a string for "\n". I come from Java, so using \n inside a string means a line break.
Is there an equivalent in VBScript?
This page has a table of string constants including vbCrLf
vbCrLf| Chr(13) & Chr(10) | Carriage return–linefeed combination
vbNewLinewhich isn’t environment specific (will matchvbCr,vbLfandvbCrLf). - user692942