TEXTAFTER

Returns the text that occurs after a given substring or delimiter.

Syntaks

TEXTAFTER( Text [; Delimiter [; Instance Number [; Match Mode [; Match End [; If Not Found ]]]]])

Text: the original text.

Delimiter: (optional) the delimiter. Multiple delimiters can be supplied.

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.

Match Mode: (optional) set to 1 to perform a case-insensitive match. The default is 0.

Match End: (optional) set to 1 to treat the end of text as a delimiter. The default is 0.

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

note

Kva som helst av dei valfrie innstillingane kan sløydast. Ei valfri innstillinga krev at alle dei føregåande skiljeteikna er til stades.


Eksempel

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

=TEXTAFTER("To be or not to be";"question";1;0;0;"@@@") returns the text "@@@" because the delimiter "question" is not in the source text.

Teknisk informasjon

tip

Denne funksjonen er tilgjengeleg sidan LibreOfficeDev 25.8.


Denne funksjonen er ikkje ein del av standarden Open Document Format for kontorprogram (OpenDocument) Versjon 1.3. del 4: Omrekna formel (OpenFormula)-format. Namnerommet er

COM.MICROSOFT.TEXTAFTER