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