in version word 97-2003 it is just #13.. new version is some encoded XML structure that you cant read.
On Mon, Jun 15, 2009 at 3:35 PM, Kyley Harris <ky...@harrissoftware.com>wrote: > I would open a word document with a Hex editor, and see how they terminate > a line.. its normally rich text.. so /n or some other command is more likely > than an actual CRLF.. > > > On Mon, Jun 15, 2009 at 3:25 PM, Jason Coley < > ja...@software-solutions.co.nz> wrote: > >> Have you tried using just #10 (or is it just #13) >> >> >> >> Jason >> >> >> >> *From:* delphi-boun...@delphi.org.nz [mailto:delphi-boun...@delphi.org.nz] >> *On Behalf Of *Dave O'Brien >> *Sent:* Monday, 15 June 2009 1:54 p.m. >> *To:* Jason >> *Subject:* [DUG] MS Word replacement text >> >> >> >> I’m working with Word templates, replacing markers with text. I’m having >> trouble with new lines in the text, i.e. I want a new line, but the Word >> document doesn’t want to play. I have tried #13#10, but this just puts two >> spaces in the text. >> >> >> >> Is there another code I need to use to force a new line? >> >> >> >> Regards, >> >> Dave. >> >> >> >> _______________________________________________ >> NZ Borland Developers Group - Delphi mailing list >> Post: delphi@delphi.org.nz >> Admin: http://delphi.org.nz/mailman/listinfo/delphi >> Unsubscribe: send an email to delphi-requ...@delphi.org.nz with Subject: >> unsubscribe >> > > > > -- > Kyley Harris > Harris Software > +64-21-671-821 > -- Kyley Harris Harris Software +64-21-671-821
_______________________________________________ NZ Borland Developers Group - Delphi mailing list Post: delphi@delphi.org.nz Admin: http://delphi.org.nz/mailman/listinfo/delphi Unsubscribe: send an email to delphi-requ...@delphi.org.nz with Subject: unsubscribe