Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Is there a way to print a new-line when using <Message...>?

Tags:

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).

like image 315
Nam G VU Avatar asked Mar 17 '10 05:03

Nam G VU


People also ask

How do I add a new line in print R?

The most commonly used are "\t" for TAB, "\n" for new-line, and "\\" for a (single) backslash character.

How do you do a line break in R?

To break a line in R Markdown and have it appear in your output, use two trailing spaces and then hit return . Let's look at an example.


1 Answers

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

like image 72
Nam G VU Avatar answered Sep 18 '22 19:09

Nam G VU