get Path Value
Extracts the path value after the specified path in a URL.
Handles special cases for URLs with multiple slashes or query strings.
Return
The path value, or null if not found.
Parameters
path
The path to search for in the URL.