Converts all
\r\n
pairs to \n
.
- Namespace
- Statiq
.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. |