UriHelper.SplitPathQueryAndFragment Method

Namespace
Kampute.DocToolkit.Support
Assembly
  • Kampute.DocToolkit.dll

Definition

Splits a URI string into its path, query string, and fragment components.
public static ValueTuple<string, string, string> SplitPathQueryAndFragment(string uriString)

Parameters

uriString string
The URI string to split.

Returns

ValueTuple<string, string, string>
A tuple containing the path, query string, and fragment components of the URI.

Remarks

This method expects the input to be a valid relative URI string. If the input does not meet this expectation, the returned value may not be meaningful.