Перейти к содержимому

URL Functions Overview

URL functions extract components such as domains, protocols, and query parameters, or encode and decode URL strings. Use the function reference pages below for syntax, input requirements, and examples.

FunctionPurpose
DOMAINExtract the domain from a URL.
DOMAIN_WITHOUT_WWWExtract the domain and remove a leading www..
TOP_LEVEL_DOMAINExtract the top-level domain.
FIRST_SIGNIFICANT_SUBDOMAINExtract the first significant subdomain.
CUT_TO_FIRST_SIGNIFICANT_SUBDOMAINKeep the domain up to the first significant subdomain.
PROTOCOLExtract the protocol from a URL.
PARSE_URLExtract a specified URL component.
EXTRACT_URL_PARAMETERExtract a named URL query parameter.
URL_ENCODEEncode a string for use in a URL.
URL_DECODEDecode a URL-encoded string.