Split a string delimited by another string and return all elements