Reformatting and new split_semi_delim function