Function dilla_renderer::engine::split

source ·
pub fn split(value: Value, sep: String) -> Result<Vec<String>, Error>
Expand description

Split a string based on a separator and return an array strings.

{{ "My__split__string"|split('__') }}
  -> ["My", "split", "string"]