| Parameter | Type |
|---|---|
URL | string, anyuri |
Returns: string
Example
query:
SELECT URL_EXTRACT_PATH("http://google.com/search")
results:
| url_extract_path |
|---|
| /search |
A function used to extract the path section from a validly formatted url according to RFC 2396 (https://tools.ietf.org/html/rfc2396.html), in format [protocol:][//host[:port]][path][?query][#fragment].
| Parameter | Type |
|---|---|
URL | string, anyuri |
query:
SELECT URL_EXTRACT_PATH("http://google.com/search")
results:
| url_extract_path |
|---|
| /search |