LibreOfficeDev 27.2 Help
Returns the text that occurs before the start of given instance of a delimiter substring.
TEKST.VOOR(“Tekst”; “Scheidingsteken”(optioneel); Aantal scheidingstekens (optioneel)r; Hoofdlettergevoelig (optioneel); Overeenkomsteinde (optioneel); “Indien niet gevonden”)
Tekst: de originele tekst.
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
Hoofdlettergevoelig: (optioneel) stel in op 1 om een hoofdletterongevoelige match uit te voeren. De standaardwaarde is 0.
Overeenkomsteinde: (optioneel) stel in op 1 om het einde van de tekst als scheidingsteken te beschouwen. De standaardwaarde is 0.
If Not Found: (optional) the value returned if no match is found. The default is #N/A.
=TEKSTVOOR("To be or not to be";" be";2;0;0;"@@@") Retourneert de tekenreeks "To be or not to", waarbij maximaal de tweede instantie van het scheidingsteken "be" wordt meegenomen.
=TEKST.VOOR("Te zijn of niet te zijn";"vraagteken";1;0;0;"@@@") retourneert de tekst "@@@" omdat het scheidingsteken "vraagteken" niet in de brontekst voorkomt.
COM.MICROSOFT.TEXTBEFORE