Trims the specified characters from the end of the string segment.
public StringSegment TrimEnd()
A string segment with the whitespace trimmed.
Trims the whitespace from the end of the string segment.
public StringSegment TrimEnd(params char[] characters)
parameter | description |
---|---|
characters | The characters to trim. |
A string segment with the whitespace trimmed.