StringSegmentTrimEnd(Char) Method

Removes all trailing instances of a character from the current StringSegment.

Definition

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

Parameters

trimChar  Char
The character to remove.

Return Value

StringSegment
A StringSegment that represents the string that remains after all instances of the trimChar character are removed from the end of the current StringSegment.

See Also