String to List

Description

This operation converts a string composed of values separated by a specific separator into a list of comma-separated values (data type listString).


Data types

These are the input/output expected data types for this operation:

Input data

- String of separated values to be transformed. You must enter the separator in the parameter below.

Output data

- Resulting values after transforming them into a list of comma-separated values.


Parameters

These are the parameters you need to configure to use this operation (mandatory parameters are marked with a *):

Separator*

Enter the character(s) that separate the values in the input strings.


Example

Suppose you want to convert a series of strings representing values separated by / into a list of comma-separated values:

  1. In your Pipeline, open the required Action configuration and select the input Field.

  2. In the Operation field, choose String to list.

  3. Set Separator to /.

  4. Give your Output field a name and click Save. The values in your input field will be transformed into a comma-separated list. For example:

hello/my/world -> hello,my,world

You can try out operations with specific values using the Input field above the operation. You can enter the value in the example above and check the result in the Output field.

Last updated

Was this helpful?