Split Data

The Split Data block is used to split a text string or list into smaller parts based on a delimiter. This is useful for extracting specific values from a text input.


How to Use This Block

1. Input Variable

  • Enter a variable containing text or a list.

  • Example: If you have "apple,banana,grape,orange", this block will split the values.

2. Delimiter

  • Specify the character used to separate values in the input.

  • Common delimiters:

    • , (comma) → "apple,banana,grape"

    • | (pipe) → "user1|user2|user3"

    • (space) → "first second third"

    • (new line) → Splits text by lines.

3. Extract Mode

  • Choose how to extract data from the split values:

    • All Values → Extracts all split values and returns them as a list.

    • Random Value → Selects one random value from the split list.

    • Nth Value → Extracts the value at a specific index position.

4. Trim Whitespaces

  • Enable this option to remove extra spaces from extracted values.

5. Output Variable (Optional)

  • Check this box to store the extracted data in a new variable.


Last updated