Slice Text

Get a part of text (slice) specifying start and end positions of the slice

Get a portion of text by specifying a starting and ending position.

For example:
Using the following text: "example"

Providing a starting position of 2 and and end position of 5 the following output would be produced: "xamp".

Action Inputs

Name

Type

Description

Text to Slice

String

The text to slice

Starting position

Number

Starting position to slice from. Providing "1" will start from the first character of the text

End position

Number

The position (index) of the last character to be included in the slice

Action Outputs

Name

Type

Description

Success

Boolean

Whether or not the action ran successfully.

Text Slice

String

The sliced text