Skip to content

Tamper: Explode

Break up sequenced data into an array


Token name
String separator

This will break up sequenced data into an array. For example, "a, b, c" would get broken up into the array('a', 'b', 'c'). A space can be represented by %s, tabs by %t, and newlines by %n.


If limit is set and positive, the returned items will contain a maximum of limit with the last item containing the rest of string. If limit is negative, all components except the last -limit are returned. If the limit parameter is zero, then this is treated as 1. If limit is not set, then there will be no limit on the number of items returned.

Last update: August 6, 2022 09:51:32