StringSegmentTrim(Char) Method
Removes all leading and trailing instances of a character from the current
StringSegment.
Namespace: KGySoft.CoreLibrariesAssembly: KGySoft.CoreLibraries (in KGySoft.CoreLibraries.dll) Version: 8.1.0
public StringSegment Trim(
char trimChar
)
Public Function Trim (
trimChar As Char
) As StringSegment
public:
StringSegment Trim(
wchar_t trimChar
)
member Trim :
trimChar : char -> StringSegment
- trimChar Char
- The character to remove.
StringSegmentA
StringSegment that represents the string that remains after all instances
of the
trimChar character are removed from the start and end of the current
StringSegment.