Handles delimiters that can be of any length