Parameter | Type |
---|---|
URL | string, anyuri |
Returns: string
Example
query:
SELECT URL_EXTRACT_FRAGMENT("http://google.com#foo")
results:
url_extract_fragment |
---|
foo |
A function used to extract the fragment (or anchor) 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_FRAGMENT("http://google.com#foo")
results:
url_extract_fragment |
---|
foo |