Split Text
Split a text into smaller texts.
Overview
This operation splits a given text into smaller texts. A delimiter can be specified to define where the text should be divided.
Syntax
Two syntaxes are supported for this operation.
Option 1
the text is "{input}"
split the text
Option 2
In this syntax, the parts of the text that are split can be further referenced via the parts
.
the text is "{input}"
split the text into parts
Specifying a Delimiter (Optional)
Optionally, the delimiter can be specified to split the text. By default, a space is used as the delimiter.
the text is "{input}"
split the text into parts
the delimiter is "{delimiter}"
Data
The table below lists the names of the data elements in this operation and indicates which can be renamed in the syntax.
Data Name | Can Be Renamed |
---|---|
the text | Yes |
the delimiter | No |
the parts | No |
Parameters
Parameters are placeholders for data. Refer to the table below for details on each parameter in this operation. In the syntax, replace parameters with your own values.
Parameters | Description | Examples | Required |
---|---|---|---|
| The text to be split. | How to Build Your Automation | Yes |
| A character or sequence of characters used to split the text. Default delimiter is a space, if not specified. |
| Optional |
Examples
1. Split a Title
In this example, no delimiter is specified, so a space is used by default.
the title is "How to Build Your Automation"
split the title
How
to
Build
Your
Automation
2. Split an Email
In this example, a delimiter is specified.
the email is "[email protected]"
split the email
the delimiter is "@"
user
domain.com
Updated 30 days ago