I'd rather have leftDelimiter and rightDelimiter than one single delimiters argument for which we would need to document that it is expected to have two characters only. This would also allow for more than one character delimiters. Also since emptyValue is of type document, leftDelimiter and rightDelimiter could also be.