Помощ за LibreOfficeDev 27.2
Returns the text that occurs before the start of given instance of a delimiter substring.
TEXTBEFORE( Текст [; Разделител [; Номер на срещане [; Режим на съответствие [; Съответствие в края [; При ненамерен ]]]]])
Текст: оригиналният текст.
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".
=TEXTBEFORE("Да бъдеш или да не бъдеш";"въпрос";1;0;0;"@@@") връща текста "@@@", защото разделителят "въпрос" не присъства в началния текст.
COM.MICROSOFT.TEXTBEFORE