How can I remove a <CR> from a string var??
I would like to do it with strreplace strvar XXX "" but I don't know what to put for the XXX.
The strvar is a 3 line data read from the RX buffer. I need the information on the second line. I remove the first line and the last line with strreplace "" but I am left with the <cr>'s. Is there a better way to do it??
I would like to do it with strreplace strvar XXX "" but I don't know what to put for the XXX.
The strvar is a 3 line data read from the RX buffer. I need the information on the second line. I remove the first line and the last line with strreplace "" but I am left with the <cr>'s. Is there a better way to do it??