TEXTBEFORE

Returns the text that occurs before the start of given instance of a delimiter substring.

Syntax

TEXTBEFORE( Text [; Delimiter [; Instance Number [; Match Mode [; Match End [; Kung Hindi Natagpuan ]]]]])

Text : ang orihinal na teksto.

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

Mode ng Pagtutugma : (opsyonal) itinakda sa 1 para magsagawa ng case-insensitive na tugma. Ang default ay 0.

Pagtatapos ng Tugma : (opsyonal) itinakda sa 1 para ituring ang dulo ng text bilang delimiter. Ang default ay 0.

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

Icon ng Tala

Maaaring tanggalin ang alinman sa mga opsyonal na argumento. Ang isang opsyonal na argumento ay nangangailangan ng lahat ng naunang separator na naroroon.


Mga halimbawa

=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("To be or not to be";"tanong";1;0;0;"@@@") ibinabalik ang text na "@@@" dahil ang delimiter na "tanong" ay wala sa source text.

Teknikal na impormasyon

Icon ng Tip

Ang function na ito ay magagamit mula noong LibreOfficeDev 25.8.


Ang function na ito ay HINDI bahagi ng Buksan ang Format ng Dokumento para sa Mga Aplikasyon sa Opisina (OpenDocument) Bersyon 1.3. Bahagi 4: Recalculated Formula (OpenFormula) Format pamantayan. Ang name space ay

COM.MICROSOFT.TEXTBEFORE

Mangyaring suportahan kami!

Mangyaring suportahan kami!