StringSegmentTrimStart(ReadOnlySpanChar) Method
Removes all leading occurrences of a set of characters specified in an array from the current
StringSegment.
Namespace: KGySoft.CoreLibrariesAssembly: KGySoft.CoreLibraries (in KGySoft.CoreLibraries.dll) Version: 10.0.0
public StringSegment TrimStart(
ReadOnlySpan<char> trimChars
)
Public Function TrimStart (
trimChars As ReadOnlySpan(Of Char)
) As StringSegment
public:
StringSegment TrimStart(
ReadOnlySpan<wchar_t> trimChars
)
member TrimStart :
trimChars : ReadOnlySpan<char> -> StringSegment
- trimChars ReadOnlySpanChar
- The characters to remove. If empty, then whitespace characters will be removed.
StringSegmentA
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.