Επεξεργασία

Κοινή χρήση μέσω


Ascii.TrimEnd Method

Definition

Overloads

TrimEnd(ReadOnlySpan<Byte>)

Trims all trailing ASCII whitespaces from the buffer.

TrimEnd(ReadOnlySpan<Char>)

Trims all trailing ASCII whitespaces from the buffer.

TrimEnd(ReadOnlySpan<Byte>)

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

TrimEnd(ReadOnlySpan<Char>)

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