normaliseLineSeparators

@Nullable
open fun normaliseLineSeparators(@Nullable str: String): String(source)

Converts all line separators in the specified nullable string to a single new line character (\n).

Return

null if the given string is null