Split Text Using the "Split" Text Helper

Keragon’s Split Text Helper allows you to divide text into multiple segments based on a specified separator. You can return the first part, the last part, or all parts as a list. This is useful for breaking down structured text fields such as names, addresses, or codes.

How to Use the Split Text Helper

00:00: This guide will demonstrate how to efficiently split text values using the split 00:04: action in caragon. This action divides texts based 00:08: on a separator into an ordered list of segments. 00:12: First go to your workflow editor. 00:15: Click the plus icon. 00:18: Access the helpers menu. 00:21: Access the text helpers option. 00:24: Select the split action to divide the text. 00:27: Click on the value field 00:30: Map the text value that you want to transform or split. 00:34: Set the word separator or character to split the text on in the separator field. 00:39: Defaults to space 00:41: Click on the result field. Here's the options in the drop-down first. 00:45: It will split the text in parts and return the first part of the text last 00:50: it will split the text in parts and return the last part of the text all 00:55: as an array. It will split the text in parts and return all the parts of 00:59: the text as a list. 01:02: Click on save to store the changes. 01:05: Proceed by clicking on test step 01:08: Access the outputs tab 01:11: You can check here to see the return segment. 01:14: This guy delved into the process of splitting texts in caragon.

  • Open your workflow editor.

  • Click the + icon to add a new step.

  • In the step selection panel, click "Helpers".

  • From the Helpers options, select "Text Helpers".

  • Choose the "Split" action.

  • Click the Value field.

  • Use the Variable Selector to map the text value you want to split.

  • Set the Separator field with the character or word to split on (e.g., comma ,, space , dash -). Defaults to space if left empty.

  • Click the Result field and select how you want the result returned:

    • First: Returns only the first segment after splitting.

    • Last: Returns only the last segment after splitting.

    • All (as an array): Returns all segments as a list/array.

  • Click "Save" to apply changes.

  • Click "Test Step" to preview the result.

  • Go to the Outputs tab to view the split result.

Example Result:

  • Input: "Apple,Banana,Cherry"

  • Separator: ,

  • Result Option: All (as an array)

  • Output: ["Apple", "Banana", "Cherry"]

Was this article helpful?
0 out of 0 found this helpful

Articles in this section

See more