Multicharacter custom delimiter + refactoring