fixed bug where string is composed by delimiters only and last element isnt broken in empty strings