TrimLines(string) Method
Returns a new string with all lines trimmed of trailing whitespace.
public static string TrimLines(this string value)
- Namespace
- Spectre
.Console .Testing - Containing Type
- StringExtensions
Parameters
- string value
- The string to trim.
Returns
- string