다음을 통해 공유


StringSegment.Trim Method

Definition

Removes all leading and trailing whitespaces.

public:
 Microsoft::Extensions::Primitives::StringSegment Trim();
public Microsoft.Extensions.Primitives.StringSegment Trim ();
member this.Trim : unit -> Microsoft.Extensions.Primitives.StringSegment
Public Function Trim () As StringSegment

Returns

The trimmed StringSegment.

Applies to