I need to get size of array in substitution data. I tried to use local var outside each loop but it did not work. Is there some in build method to get array size in substitution data?
I need to get size of array in substitution data. I tried to use local var outside each loop but it did not work. Is there some in build method to get array size in substitution data?
Try using
#
to return array length. Given this substitution data:Use the following in your message template:
{{#arr}}