RS232 and UDP strings ending in \r a carriage return will replace the \r.
RS232 and UDP strings ending in \n a line feed will replace the \n.