addBetween

Print values an additional value between them.

1
{{$addBetween [value1] [value2] [value3]... addValue="between_value"}}
Example
format JSON XML
Data JSON
1
2
3
4
5
6
7
{
"Address": {
"country": "Chocolate",
"state": "Free",
"city": "Town of"
}
}
Code
1
2
3
4
5
6
7
{{$addBetween
Address.street
Address.city
Address.state
Address.country
addValue=", "
}}
Result
Data XML
1
2
3
4
5
<Address
country="Chocolate"
state="Free"
city="Town of">
</Address>
HTML
1
2
3
4
5
6
7
{{$addBetween
Address.street
Address.city
Address.state
Address.country
addValue=", "
}}
Result