There appears to be a bug in the split(…) filter when using the email module. The following code will split the contents of a HubSpot property correctly on a Landing Page, derlivering a bulleted list of the contents using semicolons as separators, but the exact same code and contact property data does not split the contents of the contact property in the email module
{% set string_to_split = contact.industry %}
{% set names = string_to_split|split(‘;’, 9) %}
<ul>{% for name in names %}
<li>{{ name }}</li>{% endfor %}
</ul>
I’ve posted this as a bug report after discussing the problem in a separate thread. https://community.hubspot.com/t5/COS-Design-Support/Can-t-get-HUBL-Split-function-working-properly/m-p/20205#M1918