in version word 97-2003 it is just #13.. new version is some encoded XML structure that you cant read.<br><br><div class="gmail_quote">On Mon, Jun 15, 2009 at 3:35 PM, Kyley Harris <span dir="ltr"><<a href="mailto:Kyley@harrissoftware.com">Kyley@harrissoftware.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">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..<div>
<br></div><div><br><br><div class="gmail_quote"><div><div></div><div class="h5">
On Mon, Jun 15, 2009 at 3:25 PM, Jason Coley <span dir="ltr"><<a href="mailto:Jason@software-solutions.co.nz" target="_blank">Jason@software-solutions.co.nz</a>></span> wrote:<br></div></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div><div></div><div class="h5">
<div lang="EN-NZ" link="blue" vlink="purple">
<div>
<p><span style="font-size:11.0pt;color:#1F497D">Have you tried using just #10 (or is it just #13)</span></p>
<p><span style="font-size:11.0pt;color:#1F497D"> </span></p>
<p><span style="font-size:11.0pt;color:#1F497D">Jason</span></p>
<p><span style="font-size:11.0pt;color:#1F497D"> </span></p>
<div>
<div style="border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0cm 0cm 0cm">
<p><b><span lang="EN-US" style="font-size:10.0pt">From:</span></b><span lang="EN-US" style="font-size:10.0pt"> <a href="mailto:delphi-bounces@delphi.org.nz" target="_blank">delphi-bounces@delphi.org.nz</a>
[mailto:<a href="mailto:delphi-bounces@delphi.org.nz" target="_blank">delphi-bounces@delphi.org.nz</a>] <b>On Behalf Of </b>Dave O'Brien<br>
<b>Sent:</b> Monday, 15 June 2009 1:54 p.m.<br>
<b>To:</b> Jason<br>
<b>Subject:</b> [DUG] MS Word replacement text</span></p>
</div>
</div>
<p> </p>
<p><span style="font-size:11.0pt;color:#1F497D">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.</span></p>
<p><span style="font-size:11.0pt;color:#1F497D"> </span></p>
<p><span style="font-size:11.0pt;color:#1F497D">Is there another code I need to use to force a new line?</span></p>
<p><span style="font-size:11.0pt;color:#1F497D"> </span></p>
<p><span style="font-size:11.0pt;color:#1F497D">Regards,</span></p>
<p><span style="font-size:11.0pt;color:#1F497D">Dave.</span></p>
<p><span style="font-size:11.0pt;color:#1F497D"> </span></p>
</div>
</div>
<br></div></div>_______________________________________________<br>
NZ Borland Developers Group - Delphi mailing list<br>
Post: <a href="mailto:delphi@delphi.org.nz" target="_blank">delphi@delphi.org.nz</a><br>
Admin: <a href="http://delphi.org.nz/mailman/listinfo/delphi" target="_blank">http://delphi.org.nz/mailman/listinfo/delphi</a><br>
Unsubscribe: send an email to <a href="mailto:delphi-request@delphi.org.nz" target="_blank">delphi-request@delphi.org.nz</a> with Subject: unsubscribe<br></blockquote></div><br><br clear="all"><br>-- <br>Kyley Harris<br>
Harris Software<br>
+64-21-671-821<br>
</div>
</blockquote></div><br><br clear="all"><br>-- <br>Kyley Harris<br>Harris Software<br>+64-21-671-821<br>