<?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>Newbie Questions</title><link>https://www.infopathdev.com:443/forums/39.aspx</link><description>New to InfoPath? Search to see if your question has already been answered. If it has not, then ask it here or the appropriate topic forum.</description><dc:language>en</dc:language><generator>CommunityServer 2007 SP3 (Build: 31118.962)</generator><item><title>Re: how to correct address to upper case</title><link>https://www.infopathdev.com:443/forums/thread/32405.aspx</link><pubDate>Fri, 19 Sep 2008 21:40:54 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:32405</guid><dc:creator>Hilary Stoupa</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/32405.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=32405</wfw:commentRss><description>&lt;p&gt;You could try substring-after to get the word after the space:&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;substring-after(&amp;quot;main street&amp;quot;, &amp;quot; &amp;quot;)&lt;/p&gt;&lt;/blockquote&gt;
&lt;p&gt;will return &amp;quot;street&amp;quot;, for example. &lt;/p&gt;
&lt;p&gt;So, using your formula above, if the value of the current node is &amp;quot;main street&amp;quot;:&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;concat(substring(translate(substring-after(., &amp;quot; &amp;quot;), &amp;quot;abcdefghijklmnopqrstuvwxyz&amp;quot;, &amp;quot;ABCDEFGHIJKLMNOPQRSTUVWXYZ&amp;quot;), 1, 1), substring(substring-after(., &amp;quot; &amp;quot;), 2, string-length(substring-after(., &amp;quot; &amp;quot;)) - 1))&lt;/p&gt;&lt;/blockquote&gt;
&lt;p&gt;should return &amp;quot;Street&amp;quot;. Mind you --&amp;nbsp;I didn&amp;#39;t test the above formula, just replaced the &amp;#39;.&amp;#39; character with &amp;#39;substring-after(., &amp;quot; &amp;quot;)&amp;#39;. &lt;/p&gt;
&lt;p&gt;That being said, how will you handle addresses with more than two words? Like if it is West Main Street?&lt;/p&gt;</description></item><item><title>Re: how to correct address to upper case</title><link>https://www.infopathdev.com:443/forums/thread/32398.aspx</link><pubDate>Fri, 19 Sep 2008 19:27:15 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:32398</guid><dc:creator>johnmacd</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/32398.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=32398</wfw:commentRss><description>&lt;p&gt;I think I&amp;#39;m on the right path, but I&amp;#39;m still stuck and hope someone can help out.&amp;nbsp; I have found that the following forumula will translate the first letter of the first word to an upper case.&lt;/p&gt;
&lt;p&gt;concat(substring(translate(., &amp;quot;abcdefghijklmnopqrstuvwxyz&amp;quot;, &amp;quot;ABCDEFGHIJKLMNOPQRSTUVWXYZ&amp;quot;), 1, 1), substring(., 2, string-length(.) - 1))&lt;/p&gt;
&lt;p&gt;ie main street becomes Main street&lt;/p&gt;
&lt;p&gt;How can I get it so both words are changed to upper case?&lt;/p&gt;</description></item><item><title>how to correct address to upper case</title><link>https://www.infopathdev.com:443/forums/thread/32383.aspx</link><pubDate>Fri, 19 Sep 2008 15:04:20 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:32383</guid><dc:creator>johnmacd</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/32383.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=32383</wfw:commentRss><description>&lt;p&gt;I&amp;#39;m using InfoPath2003&lt;/p&gt;
&lt;p&gt;How would I go about correcting an address to use upper case letters?&lt;/p&gt;
&lt;p&gt;&amp;nbsp;ie correct 123 main street to 123 Main Street&lt;/p&gt;
&lt;p&gt;TIA&lt;/p&gt;</description></item></channel></rss>