<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="https://www.infopathdev.com:443/utility/FeedStylesheets/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>Code</title><link>https://www.infopathdev.com:443/forums/45.aspx</link><description /><dc:language>en</dc:language><generator>CommunityServer 2007 SP3 (Build: 31118.962)</generator><item><title>Re: Getting linefeeds from multiline text in c#</title><link>https://www.infopathdev.com:443/forums/thread/50006.aspx</link><pubDate>Thu, 17 Dec 2009 09:37:02 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:50006</guid><dc:creator>chris leate</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/50006.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=45&amp;PostID=50006</wfw:commentRss><description>&lt;p&gt;Cheers Qazi. That was what I ended up using in the end. There are still some encoding characters there but I guess it&amp;#39;s all just trial and error from here. I bet they&amp;#39;re tabs or something. &lt;br /&gt;&lt;/p&gt;</description></item><item><title>Re: Getting linefeeds from multiline text in c#</title><link>https://www.infopathdev.com:443/forums/thread/49993.aspx</link><pubDate>Thu, 17 Dec 2009 06:31:15 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:49993</guid><dc:creator>Qazi Anis</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/49993.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=45&amp;PostID=49993</wfw:commentRss><description>&lt;p&gt;try &lt;/p&gt;
&lt;p&gt;String&lt;span class="pun"&gt;.&lt;/span&gt;&lt;span class="typ"&gt;&lt;font color="#2b91af"&gt;Replace&lt;/font&gt;&lt;/span&gt;&lt;span class="pun"&gt;(&lt;/span&gt;&lt;span class="pln"&gt; &lt;/span&gt;&lt;span class="str"&gt;&lt;font color="#800000"&gt;&amp;quot;\r\n&amp;quot;&lt;/font&gt;&lt;/span&gt;&lt;span class="pun"&gt;,&lt;/span&gt;&lt;span class="pln"&gt; replacement &lt;/span&gt;&lt;span class="pun"&gt;)&lt;/span&gt;&lt;span class="pln"&gt;&lt;br /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/span&gt;&lt;span class="pun"&gt;.&lt;/span&gt;&lt;span class="typ"&gt;&lt;font color="#2b91af"&gt;Replace&lt;/font&gt;&lt;/span&gt;&lt;span class="pun"&gt;(&lt;/span&gt;&lt;span class="pln"&gt; &lt;/span&gt;&lt;span class="str"&gt;&lt;font color="#800000"&gt;&amp;quot;\r&amp;quot;&lt;/font&gt;&lt;/span&gt;&lt;span class="pun"&gt;,&lt;/span&gt;&lt;span class="pln"&gt; replacement &lt;/span&gt;&lt;span class="pun"&gt;)&lt;/span&gt;&lt;span class="pln"&gt;&lt;br /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/span&gt;&lt;span class="pun"&gt;.&lt;/span&gt;&lt;span class="typ"&gt;&lt;font color="#2b91af"&gt;Replace&lt;/font&gt;&lt;/span&gt;&lt;span class="pun"&gt;(&lt;/span&gt;&lt;span class="pln"&gt; &lt;/span&gt;&lt;span class="str"&gt;&lt;font color="#800000"&gt;&amp;quot;\n&amp;quot;&lt;/font&gt;&lt;/span&gt;&lt;span class="pun"&gt;,&lt;/span&gt;&lt;span class="pln"&gt; replacement &lt;/span&gt;&lt;span class="pun"&gt;);&lt;/span&gt;&lt;span class="pln"&gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;/p&gt;</description></item><item><title>Re: Getting linefeeds from multiline text in c#</title><link>https://www.infopathdev.com:443/forums/thread/49958.aspx</link><pubDate>Wed, 16 Dec 2009 13:18:37 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:49958</guid><dc:creator>Jimmy</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/49958.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=45&amp;PostID=49958</wfw:commentRss><description>&lt;p&gt;Have you tried String.Replace(&amp;quot;\n&amp;quot;, &amp;quot;test&amp;quot;);?&lt;br /&gt;&lt;/p&gt;</description></item><item><title>Getting linefeeds from multiline text in c#</title><link>https://www.infopathdev.com:443/forums/thread/49851.aspx</link><pubDate>Thu, 10 Dec 2009 15:25:56 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:49851</guid><dc:creator>chris leate</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/49851.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=45&amp;PostID=49851</wfw:commentRss><description>&lt;p&gt;Hi all,&lt;br /&gt;I may get put on the naughty step for asking this here but I&amp;#39;ve been writing a bit of code which builds a word document from an infopath quote system which the previous developer wrote. I have managed to get most of this working using the word&amp;nbsp; application object. Unfortunately I can&amp;#39;t seem to be able to find the line feeds with a replace. &lt;/p&gt;&lt;p&gt;I&amp;#39;ve tried address String.Replace(Convert.ToChar(13).ToString(), &amp;quot;test&amp;quot;); String.Replace(&amp;quot;\r\n&amp;quot;, &amp;quot;test&amp;quot;); String.Replace(System.Environment.NewLine, &amp;quot;test&amp;quot;);ETC. None of which are working.&lt;/p&gt;&lt;p&gt;Any ideas?&lt;br /&gt;&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;</description></item></channel></rss>