split_by_sep function

Split by separator (matched exactly)