Cut

Cuts a string by delimiter and returns specific fields.

Examples:

input: "A-B-C-D-E" delimiter: "-" fields: "1,5"

return: "A-E"

Script Data


NameDescription
Script Typepython
Tagstransformer, string

Inputs


Argument NameDescription
valueThe value to split.
delimiterThe delimiter to cut the string by. Pass '' to set delimiter to be empty string.
fieldsThe comma-separated field numbers. For example, "1,5,7".

Outputs


There are no outputs for this script.