Ascii.Trim 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
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<System::Byte> value);
public static Range Trim (ReadOnlySpan<byte> value);
static member Trim : ReadOnlySpan<byte> -> Range
Public Shared Function Trim (value As ReadOnlySpan(Of Byte)) As Range
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);
public static Range Trim (ReadOnlySpan<char> value);
static member Trim : ReadOnlySpan<char> -> Range
Public Shared Function Trim (value As ReadOnlySpan(Of Char)) As Range
Parameters
- value
- ReadOnlySpan<Char>
The ASCII buffer.
Returns
The range of the untrimmed data.
Applies to
ทํางานร่วมกับเราใน GitHub
แหล่งที่มาสำหรับเนื้อหานี้สามารถพบได้บน GitHub ซึ่งคุณยังสามารถสร้างและตรวจสอบปัญหาและคำขอดึงข้อมูลได้ สำหรับข้อมูลเพิ่มเติม ให้ดูคู่มือผู้สนับสนุนของเรา