StringSegmentTrim Method

Removes all leading and trailing white-space characters from the current StringSegment.

Definition

Namespace: KGySoft.CoreLibraries
Assembly: KGySoft.CoreLibraries (in KGySoft.CoreLibraries.dll) Version: 8.1.0
C#
public StringSegment Trim()

Return Value

StringSegment
A StringSegment that represents the string that remains after all white-space characters are removed from the start and end of the current StringSegment.

See Also