Split a string delimited by characters and return all elements