Carriage return in a string
Posted: Tue Mar 22, 2016 2:21 pm
Hi
I'm planning to concatenate, in a string, several variables from my DB, separated with a carriage return character.
For example, my string would be : "aaa\nbbb\ccc".
The purpose is to have, in the report, one single (but very high) text field containing this variable. All the values would be displayed on the top of each other, like this:
aaa
bbb
ccc
Will it work? Should I use another carriage return separator (\n\r?)?
thanks.
I'm planning to concatenate, in a string, several variables from my DB, separated with a carriage return character.
For example, my string would be : "aaa\nbbb\ccc".
The purpose is to have, in the report, one single (but very high) text field containing this variable. All the values would be displayed on the top of each other, like this:
aaa
bbb
ccc
Will it work? Should I use another carriage return separator (\n\r?)?
thanks.