Ascii.TrimEnd Method
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.
TrimEnd(ReadOnlySpan<Byte>) |
Trims all trailing ASCII whitespaces from the buffer. |
TrimEnd(ReadOnlySpan<Char>) |
Trims all trailing ASCII whitespaces from the buffer. |
- Source:
- Ascii.Trimming.cs
- Source:
- Ascii.Trimming.cs
Trims all trailing ASCII whitespaces from the buffer.
public:
static Range TrimEnd(ReadOnlySpan<System::Byte> value);
public static Range TrimEnd(ReadOnlySpan<byte> value);
static member TrimEnd : ReadOnlySpan<byte> -> Range
Public Shared Function TrimEnd (value As ReadOnlySpan(Of Byte)) As Range
Parameters
- value
- ReadOnlySpan<Byte>
The ASCII buffer.
Returns
The range of the untrimmed data.
Applies to
.NET 10 and other versions
Product | Versions |
---|---|
.NET | 8, 9, 10 |
- Source:
- Ascii.Trimming.cs
- Source:
- Ascii.Trimming.cs
Trims all trailing ASCII whitespaces from the buffer.
public:
static Range TrimEnd(ReadOnlySpan<char> value);
public static Range TrimEnd(ReadOnlySpan<char> value);
static member TrimEnd : ReadOnlySpan<char> -> Range
Public Shared Function TrimEnd (value As ReadOnlySpan(Of Char)) As Range
Parameters
- value
- ReadOnlySpan<Char>
The ASCII buffer.
Returns
The range of the untrimmed data.
Applies to
.NET 10 and other versions
Product | Versions |
---|---|
.NET | 8, 9, 10 |
.NET feedback
.NET is an open source project. Select a link to provide feedback: