Handlebars buildRowSetFromString
Handlebars buildRowSetFromString: splits a string at a delimiter into a rowset with a single unnamed column, one row per value.
Next
Runtime verified
Test scripts included
Splits a string at a delimiter into a rowset with a single unnamed column, one row per value.
Syntax
{{buildRowSetFromString text delimiter}}
Returns array.
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
text |
string | Yes | The string to split. |
delimiter |
string | Yes | The text that separates values. |
Example
Tested in a Marketing Cloud Next email on 2026-11-22:
{{length (buildRowSetFromString "a|b|c" "|")}}renders3, as documented.{{#each (buildRowSetFromString "x|y" "|")}}{{@index}}{{/each}}renders01, as documented.
Show Next test script
Marketing Cloud Next
Works as documented
Every tested call rendered the documented result. Tested 2026-11-22 by rendering in a Marketing Cloud Next email.
See also
- AMPscript
BuildRowSetFromString— the AMPscript equivalent - Official reference