TEXTSPLIT

Splits text by a given delimiter to an array of multiple cells.

note

Введите формулу как формулу массива. Подсказка: введите формулу с помощью клавиш Ctrl + Shift + Enter.


Синтаксис

TEXTSPLIT(Text [; Column Delimiter [; Row Delimiter [; Ignore Empty [; Match Mode [; Pad With ]]]]])

Text: (optional) the text to split.

Column Delimiter: (optional) the text to delimit the columns. Multiple delimiters can be supplied.

Row Delimiter: (optional) the text to delimit the rows. Multiple delimiters can be supplied.

Ignore Empty: (optional) set to TRUE to ignore consecutive delimiters otherwise creates an empty cell. The default to FALSE.

Match mode: (optional) set to 1 to perform a case-insensitive match otherwise does a case-sensitive match. The default to 0.

Pad with: (optional) the value with which to pad. The default is #N/A.

note

Необязательные аргументы можно пропустить. Дополнительный аргумент требует наличия всех предшествующих разделителей.


Примеры

If cell A1 contains "AA,BB,,CC/DD,EE,FF/GG,HH,II,JJ", then

{=TEXTSPLIT(A1;",";"/";FALSE();1;"@@@")} returns the following array:

AA

BB

CC

DD

EE

FF

@@@

GG

HH

II

JJ


Техническая информация

tip

Эта функция доступна начиная с LibreOffice 25.8.


Эта функция НЕ входит в стандарт Формата Open Document для офисных приложений (OpenDocument) v1.3. Часть 4: Формат пересчитываемой формулы (OpenFormula). Используемое пространство имён:

COM.MICROSOFT.TEXTSPLIT

Пожалуйста, поддержите нас!