But this worked! Simply put a return inline. #set ($result = "${result} ${ResRec}")
Found it here: http://ansaurus.com/question/3667808-new-line-in-velocity-set-directive On Fri, Jan 7, 2011 at 6:53 PM, Gary Catlin <gcatli...@gmail.com> wrote: > No, I tried those earlier. No success. Thanks anyway. > > > On Fri, Jan 7, 2011 at 6:26 PM, jian chen <chenjian1...@gmail.com> wrote: > >> I wonder if you just need to do \r\n? >> >> Jian >> >> On Fri, Jan 7, 2011 at 3:09 PM, Gary Catlin <gcatli...@gmail.com> wrote: >> >> > Hello all. >> > >> > I am looking to insert a newline char into a string that will be >> > interpreted >> > by MS Word as a newline. I tried the EscapeTool, but the $(esc.n) was >> > ignored when the string was ported to Word. I know that Word >> differentiates >> > between a newline and a paragraph. It would be nice to know the codes >> for >> > both. Thanks. >> > >> > >