Member group
ReplaceLineEndings
Declaring type: String
Module: System
Assembly: System.Runtime.dll
Source file: String.rvn
Overloads / Variants
ReplaceLineEndings
func ReplaceLineEndings() -> string
Source file: String.rvn
Replaces Unicode newline sequences with LF, independently of the host OS.
Return value
ReplaceLineEndings
func ReplaceLineEndings(replacementText: string) -> string
Source file: String.rvn
Replaces CRLF, CR, LF, FF, NEL, LS and PS; empty replacement deletes them. Unchanged text reuses its owner. Not for protocol framing or validation.
Parameters
| Name | Type | Description |
|---|---|---|
replacementText |
String |