How to deal hex 0d and 0a in strings. scripting?

value[:-2] would chop off the last 2 characters.

value + '\r\n' should add the CRLF back.

1 Like