nlc2array

The nlc2array filter splits a string on new line characters or commas an returns an array of the string parts.

This filter is unique to Aptuitiv. It is not part of the core Twig functionality.
{% set data = var|nlc2array %}
This documentation is only for Aptuitiv CMS. Learn more.
Get Started With Aptuitiv