Class StringToUnixLineEndingExtensions
- Namespace
- SunamoToUnixLineEnding
- Assembly
- SunamoToUnixLineEnding.dll
Extension methods for converting line endings to Unix format in strings.
public static class StringToUnixLineEndingExtensions
- Inheritance
-
StringToUnixLineEndingExtensions
- Inherited Members
Methods
ToUnixLineEnding(string)
Converts all line endings in the string to Unix line endings (LF only).
public static string ToUnixLineEnding(this string text)
Parameters
textstringThe string whose line endings will be converted.
Returns
- string
The string with all line endings replaced by Unix line feed characters.