Used for: splitting up the content of a field on a certain character or word, and then using one or more of the parts of the split content.
Used in: "THEN"-statements and "ELSE"-statements.
The "split text" rule splits up a field every time a character or word of your choice appears in that field. By using the split text rule you basically cut up a field into several parts. You can then select one or more of these parts to fill a field of your choice.
An example: let's say your descriptions contain the size of your products, as shown in the example description below. You could use the split text rule to fill the "size" field with the part that comes after the word "size:" in your description.
To do so, you can use the "split text" rule, with which you first split the description on the word "size:" and then use the part that follows it. In the screenshot below you can see how you would set up the "split text" rule for this.
You have now successfully split the description on "size:", selected the second part (the part before "size:" is the first part, see screenshot below) and copied this part to the field "size". In the screenshot below is marked which part of the description is part one and which part is part two.
Now the size field is filled with the entire second part. However, we only want the "XL" value in our size field. To accomplish this, we simply use the "split text" rule again. This time, we will split the "size" field on the comma that comes right after the "XL". We can then select the part before the comma (first part) and set that as the value for size. In the screenshot below we have added an extra step to the rule we already created in order to perform this last split.