﻿id	summary	reporter	owner	description	type	status	component	version	severity	resolution	keywords	cc	stage	has_patch	needs_docs	needs_tests	needs_better_patch	easy	ui_ux
21367	"Add new ""split"" filter in built-in library"	Emanuele Bertoldi	nobody	"I propose to add a very simple (but useful) filter to the Built-In library to split a string, giving a separator.

It's use is quite straight-forward:


{{{
{{ value|split:""/"" }}
}}}

And this is a possible implementation:

{{{
@register.filter
@stringfilter
def split(string, sep):
    """"""Return the string split by sep.

    Example usage: {{ value|split:""/"" }}
    """"""
    return string.split(sep)
}}}"	New feature	closed	Template system	dev	Normal	wontfix	string split filter	bmispelon@…	Unreviewed	0	0	0	0	0	0
