Add crlf to string

Hi,

How do I add crlf to a string tag literally (typing it directly to it in tag browser)?

I’m pretty sure you can’t. To use control characters, you have to issue a write from a script.

I guess one thing you could do is right click and ‘edit raw’ the tag - control characters in the JSON won’t be escaped.

I tried system.tag.writeBlocking(["[.]TxD"],[“IP\r\n”]) in a script but it does not add the crlf.
Any idea?

The tag browser doesn’t display the newlines, but if you read the tag again via scripting are they present?

How are you determining it’s not being added?