Ascii.TrimStart Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
TrimStart(ReadOnlySpan<Byte>) |
Trims all leading ASCII whitespaces from the buffer. |
TrimStart(ReadOnlySpan<Char>) |
Trims all leading ASCII whitespaces from the buffer. |
TrimStart(ReadOnlySpan<Byte>)
- Source:
- Ascii.Trimming.cs
- Source:
- Ascii.Trimming.cs
Trims all leading ASCII whitespaces from the buffer.
public:
static Range TrimStart(ReadOnlySpan<System::Byte> value);
public static Range TrimStart (ReadOnlySpan<byte> value);
static member TrimStart : ReadOnlySpan<byte> -> Range
Public Shared Function TrimStart (value As ReadOnlySpan(Of Byte)) As Range
Parameters
- value
- ReadOnlySpan<Byte>
The ASCII buffer.
Returns
The range of the untrimmed data.
Applies to
TrimStart(ReadOnlySpan<Char>)
- Source:
- Ascii.Trimming.cs
- Source:
- Ascii.Trimming.cs
Trims all leading ASCII whitespaces from the buffer.
public:
static Range TrimStart(ReadOnlySpan<char> value);
public static Range TrimStart (ReadOnlySpan<char> value);
static member TrimStart : ReadOnlySpan<char> -> Range
Public Shared Function TrimStart (value As ReadOnlySpan(Of Char)) As Range
Parameters
- value
- ReadOnlySpan<Char>
The ASCII buffer.
Returns
The range of the untrimmed data.
Applies to
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.