Справка LibreOfficeDev 27.2
Returns the text that occurs before the start of 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 before 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.
=TEXTBEFORE("To be or not to be";" be";2;0;0;"@@@") returns the string "To be or not to", taking up to the second instance of the delimiter " be".
=ТЕКСТДО("Быть или не быть";"вопрос";1;0;0;"@@@") возвращает текст «@@@», потому что разделитель «вопрос» в исходном тексте отсутствует.
COM.MICROSOFT.TEXTBEFORE