TEXTSPLIT

Splits text by a given delimiter to an array of multiple cells.

note

Voer de formule in als een matrixformule. Tip: voer de formule in met de toetsen Ctrl+Shift+Enter.


Syntaxis

TEXTSPLIT(Text; Column Delimiter; Row Delimiter; Ignore Empty; Match Mode; Pad With)

Text: (optional) the text to split.

Column Delimiter: (optional) the text to delimit the columns. Multiple delimiters can be supplied.

Row Delimiter: (optional) the text to delimit the rows. Multiple delimiters can be supplied.

Ignore Empty: (optional) set to TRUE to ignore consecutive delimiters otherwise creates an empty cell. The default to FALSE.

Match mode: (optional) set to 1 to perform a case-insensitive match otherwise does a case-sensitive match. The default to 0.

Pad with: (optional) the value with which to pad. The default is #N/A.

note

Elk van de optionele argumenten kan worden weggelaten. Voor een optioneel argument moeten alle voorgaande scheidingstekens aanwezig zijn.


Voorbeelden

If cell A1 contains "AA,BB,,CC/DD,EE,FF/GG,HH,II,JJ", then

{=TEXTSPLIT(A1;",";"/";FALSE();1;"@@@")} returns the following array:

AA

BB

CC

DD

EE

FF

@@@

GG

HH

II

JJ


Technische informatie

tip

Deze functie is beschikbaar sinds LibreOfficeDev 25.8.


Deze functie is GEEN onderdeel van de standaard Open Document Format for Office Applications (OpenDocument) Versie 1.3. Deel 4: Recalculated Formula (OpenFormula) indeling. De naamruimte is

COM.MICROSOFT.TEXTSPLIT