Skip to content

StringHelper.ToSingleLine method

Converts the string to single line by replacing line endings with space.

public static string ToSingleLine(this string? str)
parameter description
str The string.

Return Value

Single lined string.

See Also