using custom split function that behaves like php's explode and appends elements after limit to last element
version 0.0.10