normaliseLineEndings

Normalise all line endings in string to $newLineEnding.

Description

static normaliseLineEndings(string $newLineEnding = ' ')

Parameters

  • string $newLineEnding
    Defaults to a LINE FEED. You may provide any string to replace all line endings.

Return Value

static