# TEXTSPLIT

## Content

This function <span>s</span><span style="color: rgb(23, 43, 77); font-family: -apple-system, BlinkMacSystemFont, Segoe UI, Roboto, Oxygen, Ubuntu, Fira Sans, Droid Sans, Helvetica Neue, sans-serif; font-size: 16px; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: 400; letter-spacing: -0.08px; orphans: 2; text-align: start; text-indent: 0px; text-transform: none; white-space: pre-wrap; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; background-color: rgb(255, 255, 255); text-decoration-thickness: initial; text-decoration-style: initial; text-decoration-color: initial; display: inline !important; float: none;">plits text strings by using column and row delimiters.</span>

## Syntax

`=TEXTSPLIT(text,col_delimiter,[row_delimiter],[ignore_empty], [match_mode], [pad_with])`

## Arguments

The function has the following arguments:

| Argument | Description |
| -------- | ----------- |
| *text* | Refers to the text you want to split. |
| *col\_delimiter* | Refers to the text that marks the point where to spill the text across columns. |
| *row\_delimiter* | [Optional] Refers to the text that marks the point where to spill the text down rows. |
| *ignore\_empty* | [Optional] Specify FALSE to create an empty cell when two delimiters are consecutive. Defaults to TRUE, which creates an empty cell. |
| *match\_mode* | [Optional] Searches the text for a delimiter match. By default, a case-sensitive match is done. |
| *pad\_with* | [Optional] Refers to the value with which to pad the result. The default is #N/A. |

## Data Types

Returns string data.

## Remarks

An array constant must be used if there is more than one delimiter. For example, to split by both a comma and a period, use =TEXTSPLIT(A1,{",","."}).

## Examples

![textsplit-spread-snapshot.png](https://gcdocumentsitekrblob.blob.core.windows.net/document-site-files/images/8d606653-16a0-474d-b9dc-e2b4d01c2446/textsplit-spread-snapshot.9b9341.png)