StringSegment.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.
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.