TESTO.DOPO

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

Sintassi

TESTO.DOPO( testo [; delimitatore [; numero istanza [; modo corrispondenza [; corrispondenza alla fine [; se non trovato ]]]]])

Testo: il testo originale.

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.

Modo Corrispondenza: (facoltativo) impostarlo a 1 per trovare le corrispondenze senza distinzione tra maiuscole e minuscole. Il valore predefinito è 0.

Corrispondenza alla fine: (facoltativo) impostarlo a 1 per trattare la fine del testo come un delimitatore. Il valore predefinito è 0.

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

Icona di nota

Qualsiasi argomento opzionale può essere omesso. Un argomento opzionale richiede che siano presenti tutti i separatori che precedono.


Esempi

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

=TESTO.DOPO("Essere o non essere";"domanda";1;0;0;"@@@") restituisce il testo "@@@" perché il delimitatore "domanda" non è presente nel testo sorgente.

=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.

Informazioni tecniche

Icona di suggerimento

This function is available since LibreOfficeDev 25.8.


Questa funzione NON fa parte dello standard Open Document Format for Office Applications (OpenDocument) Version 1.3. Part 4: Recalculated Formula (OpenFormula) Format. Lo spazio dei nomi è

COM.MICROSOFT.TEXTAFTER

Sostienici!

Sostienici!