split strings output on newline