{% set path = path|default('') %} {% set separator = separator|default(DIRECTORY_SEPARATOR) %} {% set items = path|split(separator) %}