My friend Christian Wimmer (user brandy25) found and fixed a bug in the str_sep() function. The bug is described below and the patch to fix it is attached. Please consider applying it.
If the separation string ('dfa') has more than one character then the output is sometimes wrong as in this example:
h s s
The correct result would be