The TextUtil type exposes the following members.
Methods
Name | Description | |
---|---|---|
Normalize(TextReader, ISerializationContext) | ||
Normalize(String, ISerializationContext) |
Normalizes line endings, converting "\r" into "\r\n" and "\n" into "\r\n".
| |
RemoveEmptyLines |
Removes blank lines from a string with normalized (\r\n)
line endings.
NOTE: this method makes the line/col numbers output from
antlr incorrect.
| |
UnwrapLines(TextReader) | ||
UnwrapLines(String) |
Unwraps lines from the RFC 2445 "line folding" technique.
NOTE: this method makes the line/col numbers output from
antlr incorrect.
| |
WrapLines |