StringSegment.Trim method (1 of 2)

Trims the whitespace from the start and end of the string segment.

public StringSegment Trim()

Return Value

A string segment with the whitespace trimmed.

See Also


StringSegment.Trim method (2 of 2)

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.

Return Value

A string segment with the whitespace trimmed.

See Also