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

ТЕКСТПОСЛЕ

Returns the text that occurs after the end of a given instance of a delimiter substring.

Синтаксис

ТЕКСТПОСЛЕ( Текст [; Разделитель [; Номер вхождения [; Режим сопоставления [; Сопоставление конца [; Если ничего не найдено ]]]]])

Текст: исходный текст.

Delimiter: (optional) the delimiter. Multiple delimiters can be supplied. If omitted or supplied as an empty string, then returns the error #N/A or the value expressed by If Not Found.

Instance Number: (optional) the instance of the delimiter after which to extract text. The default is 1. A negative number starts searching from the end. Value 0 returns the error #N/A.

Режим сопоставления: (необязательно) для сопоставления без учёта регистра устанавливается значение 1. Значение по умолчанию 0.

Сопоставление конца: (необязательно) установите значение 1, чтобы считать конец текста разделителем. Значение по умолчанию 0.

If Not Found: (optional) the value returned if no match is found. The default is #N/A.

Значок примечания

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


Примеры

=TEXTAFTER("To be or not to be";"or ";1;0;0;"@@@") returns the string "not to be", taking after the delimiter "or ".

=ТЕКСТПОСЛЕ("Быть или не быть";"вопрос";1;0;0;"@@@") возвращает текст «@@@», потому что разделитель «вопрос» в исходном тексте отсутствует.

=TEXTAFTER("To be or not to be";"question";1;0;1;"@@@") returns the empty string "" because the delimiter "question" is not in the source text and Match End is 1, which prevents the function to return the error #N/A or the value defined in If Not Found.

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

Значок подсказки

This function is available since LibreOfficeDev 25.8.


This function is NOT part of the Open Document Format for Office Applications (OpenDocument) Version 1.4. Part 4: Recalculated Formula (OpenFormula) Format standard. The name space is

COM.MICROSOFT.TEXTAFTER