StringExtensions.

NormalizeLineEndings(string) Method

Summary

Converts all \r\n pairs to \n.
Assembly
Wyam.Testing.dll
Namespace
Wyam.Testing
Containing Type
StringExtensions

Syntax

public static string NormalizeLineEndings(this string str)

Parameters

Name Type Description
str string The string to normalize.

Return Value

Type Description
string The normalized string.
GitHub