UriHelper.GetPathPart Method
- Namespace
- Kampute.DocToolkit.Support
- Assembly
- Kampute.DocToolkit.dll
Definition
Retrieves the path portion of a URI string, excluding any query string or fragment.
public static string GetPathPart(string uriString)Parameters
uriStringstring- The URI string to extract the path from.
Returns
- string
- A string representing the path portion 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.
