อ่านในภาษาอังกฤษ แก้ไข

แชร์ผ่าน


Ascii.Trim Method

Definition

Overloads

Trim(ReadOnlySpan<Byte>)

Trims all leading and trailing ASCII whitespaces from the buffer.

Trim(ReadOnlySpan<Char>)

Trims all leading and trailing ASCII whitespaces from the buffer.

Trim(ReadOnlySpan<Byte>)

Source:
Ascii.Trimming.cs
Source:
Ascii.Trimming.cs

Trims all leading and trailing ASCII whitespaces from the buffer.

public static Range Trim(ReadOnlySpan<byte> value);

Parameters

value
ReadOnlySpan<Byte>

The ASCII buffer.

Returns

The range of the untrimmed data.

Applies to

Trim(ReadOnlySpan<Char>)

Source:
Ascii.Trimming.cs
Source:
Ascii.Trimming.cs

Trims all leading and trailing ASCII whitespaces from the buffer.

public static Range Trim(ReadOnlySpan<char> value);

Parameters

value
ReadOnlySpan<Char>

The ASCII buffer.

Returns

The range of the untrimmed data.

Applies to