ClickHouse/docs/en/sql-reference/functions
Azat Khuzhin 48645eae33 Add cutToFirstSignificantSubdomainWithWWW()
Sometimes it is odd to get TLD itself from the
cutToFirstSignificantSubdomain() (since you will not get TLD itself if
you pass it directly):
- cutToFirstSignificantSubdomain('org')            -> ""
- cutToFirstSignificantSubdomain('www.org')        -> org
- cutToFirstSignificantSubdomain('kernel.org')     -> kernel.org
- cutToFirstSignificantSubdomain('www.kernel.org') -> kernel.org

So add one more function to get www.org in this case:
- cutToFirstSignificantSubdomainWithWWW('org')            -> ""
- cutToFirstSignificantSubdomainWithWWW('www.org')        -> www.org
- cutToFirstSignificantSubdomainWithWWW('kernel.org')     -> kernel.org
- cutToFirstSignificantSubdomainWithWWW('www.kernel.org') -> kernel.org

P.S. not sure about the naming though, so it will great if someone has
suggestion for the name.
2020-11-18 21:09:27 +03:00
..
geo DOCSUP-1585: Edit and sync geo functions (#12584) 2020-07-28 10:57:28 +03:00
arithmetic-functions.md DOCSUP-924: Higher-order functions moved to Array functions (#14092) 2020-09-08 18:55:00 +03:00
array-functions.md fix: fix typo in array functions documentation 2020-11-05 16:23:23 +01:00
array-join.md [docs] replace underscores with hyphens (#10606) 2020-04-30 21:19:18 +03:00
bit-functions.md [docs] replace underscores with hyphens (#10606) 2020-04-30 21:19:18 +03:00
bitmap-functions.md Fix broken links in docs 2020-10-13 20:23:29 +03:00
comparison-functions.md [docs] split the ALTER article (#12502) 2020-07-15 00:02:41 +03:00
conditional-functions.md [docs] split aggregate function and system table references (#11742) 2020-06-18 11:24:31 +03:00
date-time-functions.md DOCSUP-2807: Documented the date_trunc function (#15429) 2020-11-12 19:14:47 +03:00
encoding-functions.md DOCSUP-2806: Add meta header in RU (#15801) 2020-10-26 13:29:30 +03:00
encryption-functions.md DOCSUP-3845: documented new encrypt and decrypt functions (#16930) 2020-11-17 17:05:33 +03:00
ext-dict-functions.md Update ext-dict-functions.md 2020-09-15 11:15:30 -03:00
functions-for-nulls.md Update functions-for-nulls.md 2020-06-19 13:21:15 +03:00
hash-functions.md Add farmFingerprint64 docs 2020-10-31 09:04:18 -04:00
in-functions.md Update in-functions.md 2020-06-19 13:21:51 +03:00
index.md DOCSUP-924: Higher-order functions moved to Array functions (#14092) 2020-09-08 18:55:00 +03:00
introspection.md DOCSUP-3538: Documeted the tid and logTrace funtions (#16884) 2020-11-17 13:03:39 +03:00
ip-address-functions.md Update ip-address-functions.md 2020-06-19 13:16:08 +03:00
json-functions.md Fix broken links in docs 2020-10-13 20:23:29 +03:00
logical-functions.md [docs] replace underscores with hyphens (#10606) 2020-04-30 21:19:18 +03:00
machine-learning-functions.md DOCSUP-2407: Documented the bayesAB function (#15599) 2020-10-05 16:06:16 +03:00
math-functions.md [docs] generate AMP versions for docs articles (#10732) 2020-05-08 11:04:09 +03:00
other-functions.md Make errorCodeToName() return LowCardinality(String) 2020-10-29 10:55:41 +03:00
random-functions.md Update random-functions.md 2020-06-19 13:13:13 +03:00
rounding-functions.md [docs] split aggregate function and system table references (#11742) 2020-06-18 11:24:31 +03:00
splitting-merging-functions.md DOCSUP-1110: document the extractAllGroups function (#138) 2020-07-19 12:33:50 +03:00
string-functions.md Fix broken links in docs 2020-10-13 20:23:29 +03:00
string-replace-functions.md Fix misleading, bad and wrong documentation. 2020-08-12 02:23:11 +03:00
string-search-functions.md DOCSUP-3478: Documented the iLike function (#15880) 2020-10-19 18:32:09 +03:00
tuple-map-functions.md DOCSUP-2965: Add translate for map functions (#15744) 2020-10-15 17:53:11 +03:00
type-conversion-functions.md DOCSUP-3535: Documented the reinterpretAsUUID function (updated) (#16688) 2020-11-12 19:23:32 +03:00
url-functions.md Add cutToFirstSignificantSubdomainWithWWW() 2020-11-18 21:09:27 +03:00
uuid-functions.md Update uuid-functions.md 2020-10-26 16:00:49 +03:00
ym-dict-functions.md Fix broken links in docs 2020-10-13 20:23:29 +03:00