TextSplitAction

TextActions. TextSplitAction

An action 'split' that splits a String into an array, based on the given delimiter. Default delimiter is ","

Constructor

new TextSplitAction()

Source:
Examples
//Split the string in "myStringProperty" at the delimiter ";" and save the result in the variable "myArrayVariable"
{
    "split": {
        "property": "myStringProperty",
        "delimiter": ";",
        "as": "myArrayVariable"
    }
}
//Split the string in "myStringVariable" at the delimiter ";" and save the result in the variable "myArrayVariable"
{
    "split": {
        "variable": "myStringVariable",
        "delimiter": ";",
        "as": "myArrayVariable"
    }
}
//Shorthand example, splitting property using delimiter "," and saving result in variable "split"
{
    "split": "myStringProperty"
}
//Shorthand example, splitting variable using delimiter "," and saving result in variable "split"
{
    "split": "$myStringVariable"
}