mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-10-20 23:41:01 +00:00
0a4a5b36cc
* Additional .gitignore entries * Merge a bunch of small articles about system tables into single one * Merge a bunch of small articles about formats into single one * Adapt table with formats to English docs too * Add SPb meetup link to main page * Move Utilities out of top level of docs (the location is probably not yet final) + translate couple articles * Merge MacOS.md into build_osx.md * Move Data types higher in ToC * Publish changelog on website alongside documentation * Few fixes for en/table_engines/file.md * Use smaller header sizes in changelogs * Group up table engines inside ToC * Move table engines out of top level too * Specificy in ToC that query language is SQL based. Thats a bit excessive, but catches eye. * Move stuff that is part of query language into respective folder * Move table functions lower in ToC * Lost redirects.txt update * Do not rely on comments in yaml + fix few ru titles * Extract major parts of queries.md into separate articles * queries.md has been supposed to be removed * Fix weird translation * Fix a bunch of links * There is only table of contents left * "Query language" is actually part of SQL abbreviation * Change filename in README.md too * fix mistype
19 lines
1.4 KiB
Markdown
19 lines
1.4 KiB
Markdown
# Функции разбиения и слияния строк и массивов
|
||
|
||
## splitByChar(separator, s)
|
||
Разбивает строку на подстроки, используя в качестве разделителя separator.
|
||
separator должен быть константной строкой из ровно одного символа.
|
||
Возвращается массив выделенных подстрок. Могут выделяться пустые подстроки, если разделитель идёт в начале или в конце строки, или если идёт более одного разделителя подряд.
|
||
|
||
## splitByString(separator, s)
|
||
То же самое, но использует строку из нескольких символов в качестве разделителя. Строка должна быть непустой.
|
||
|
||
## arrayStringConcat(arr\[, separator\])
|
||
Склеивает строки, перечисленные в массиве, с разделителем separator.
|
||
separator - необязательный параметр, константная строка, по умолчанию равен пустой строке.
|
||
Возвращается строка.
|
||
|
||
## alphaTokens(s)
|
||
Выделяет подстроки из подряд идущих байт из диапазонов a-z и A-Z.
|
||
Возвращается массив выделенных подстрок.
|