tags:

views:

26

answers:

2

I wanna write <Message Text="Line1\nLine2\nLine3" /> but \n seems not to be working. What should I replace \n with?

(I read in the books they said that to print @ and % we use %40 and %25, so I guess the should be a number for the new-line).

+2  A: 

CR = 0x0D or 13

LF = 0x0A or 10

DaveE
Thanks DaveE. I try <Message Text="a%0Abb" />. It works and print out:abbThank you.
Nam Gi VU
+1  A: 

Try this: <Message Text="Line1%0aLine2%0aLine3%0a" />

Nam Gi VU