support for nul & new line separator