StringSegmentTrimStart(Char) Method

Removes all leading occurrences of a set of characters specified in an array from the current StringSegment.

Definition

Namespace: KGySoft.CoreLibraries
Assembly: KGySoft.CoreLibraries (in KGySoft.CoreLibraries.dll) Version: 9.0.0-preview.1
C#
public StringSegment TrimStart(
	params char[]? trimChars
)

Parameters

trimChars  Char
The characters to remove. If or empty, then whitespace characters will be removed.

Return Value

StringSegment
A StringSegment that represents the string that remains after all occurrences of the characters in the trimChars parameter are removed from the start of the current StringSegment.

See Also