Freeze strings in the test to ensure args are not modified
Unified handling of single/multi-char delimiters without performance hit