11-28-2013 06:25 AM - edited 03-14-2019 12:48 PM
Hi,
I am developing a CCX 8.5 premium script and I need to add a "new line" character in a string variable and then to save this info inside a xlm file but so far i have not made it. I have tried with \n\r but not, whole string value stays in the same line, for example:
STRING temp
DOC outputdoc
temp = D[now] + T[now] + "new line"
set outputdoc = temp
how do i do to get that?
Thanks in advance.
Solved! Go to Solution.
11-28-2013 07:16 AM
Hi,
well, you don't really need a newline character in an XML.
However, you can use System.getProperty("line.separator"). But again, I don't really see the use of it. Basically everything is a binary stream and it's up to the final rendering how it is presented.
G.
11-28-2013 07:16 AM
Hi,
well, you don't really need a newline character in an XML.
However, you can use System.getProperty("line.separator"). But again, I don't really see the use of it. Basically everything is a binary stream and it's up to the final rendering how it is presented.
G.