<?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>General</title><link>https://www.infopathdev.com:443/forums/41.aspx</link><description>If you're not sure where to ask your question, ask it here. If necessary, our moderators will make sure it gets classified in the correct board.</description><dc:language>en</dc:language><generator>CommunityServer 2007 SP3 (Build: 31118.962)</generator><item><title>Re: Capitalize the first letter of every word?</title><link>https://www.infopathdev.com:443/forums/thread/79502.aspx</link><pubDate>Thu, 14 Jun 2012 18:15:46 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:79502</guid><dc:creator>fhall</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/79502.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=79502</wfw:commentRss><description>&lt;p&gt;Thanks for the sample - very helpful!&lt;/p&gt;
&lt;p&gt;In trying to find a true &lt;strong&gt;Title Case ruleset&lt;/strong&gt;, can anyone (Ernesto?) give an example of something like this?&lt;br /&gt;plain-text logic (apologies) might be:&lt;/p&gt;
&lt;p&gt;replace &amp;quot;letter.space.lower-case-letter&amp;quot; with &amp;quot;letter.space.upper-case-letter&amp;quot;&lt;/p&gt;
&lt;p&gt;I&amp;#39;m more familiar with RegularExpression, so maybe this isn&amp;#39;t possible in InfoPath (of course, no code allowed).&lt;/p&gt;
&lt;p&gt;how about adding just one more iteration to this, allowing capitalization of 3 words.&lt;br /&gt;I&amp;#39;d appreciate a working example - i&amp;#39;m terrible with making/editing these.&lt;/p&gt;
&lt;p&gt;using the 2nd part of your example (capitalize 2nd word) as the starting point, how do we separate the next/3rd word group?&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;concat(substring-before(., &amp;quot; &amp;quot;), &amp;quot; &amp;quot;, translate(substring(substring-after(., &amp;quot; &amp;quot;), 1, 1), &amp;quot;abcdefghijklmnopqrstuvwxyz&amp;quot;, &amp;quot;ABCDEFGHIJKLMNOPQRSTUVWXYZ&amp;quot;), substring(substring-after(., &amp;quot; &amp;quot;), 2, string-length(.) - 1))&lt;/p&gt;&lt;/blockquote&gt;
&lt;p&gt;&amp;nbsp;possible to have case sensitive substring-before?&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;concat(substring-before(., &amp;quot; &lt;em&gt;lowercase-letter&lt;/em&gt;&amp;quot;), ...&lt;/p&gt;&lt;/blockquote&gt;
&lt;p&gt;or to find third word sequentially?&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;concat(substring-before(., &amp;quot; * &amp;quot;), ...&amp;nbsp;&amp;nbsp; *=non-space repeated 1+&lt;/p&gt;&lt;/blockquote&gt;
&lt;p&gt;many thanks for your patience and all this sites previous assistences.&lt;/p&gt;
&lt;p&gt;cheers,&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;</description></item><item><title>Re: Capitalize the first letter of every word?</title><link>https://www.infopathdev.com:443/forums/thread/65954.aspx</link><pubDate>Fri, 15 Apr 2011 12:26:47 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:65954</guid><dc:creator>ErnestoM</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/65954.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=65954</wfw:commentRss><description>&lt;p&gt;I got it working with two words (one space) in the field. I&amp;#39;m attaching a sample form.&lt;br /&gt;&lt;/p&gt;&lt;p&gt;Perhaps you can try to extend this to two spaces or more and let us know if you find a formula?&lt;/p&gt;&lt;p&gt;Thanks! &lt;br /&gt;&lt;/p&gt;</description></item><item><title>Re: Capitalize the first letter of every word?</title><link>https://www.infopathdev.com:443/forums/thread/65906.aspx</link><pubDate>Wed, 13 Apr 2011 20:55:18 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:65906</guid><dc:creator>shniggens</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/65906.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=65906</wfw:commentRss><description>&lt;p&gt;Any tips on how I would combine that with my existing formula?&amp;nbsp; Also, what if there is more than one space?&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Thanks!&lt;/p&gt;</description></item><item><title>Re: Capitalize the first letter of every word?</title><link>https://www.infopathdev.com:443/forums/thread/65854.aspx</link><pubDate>Mon, 11 Apr 2011 14:13:30 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:65854</guid><dc:creator>ErnestoM</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/65854.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=65854</wfw:commentRss><description>What if you also translate the first letter than comes after a space? You would need to use something like substring-after to locate that letter.&lt;br /&gt;</description></item><item><title>Capitalize the first letter of every word?</title><link>https://www.infopathdev.com:443/forums/thread/65845.aspx</link><pubDate>Sun, 10 Apr 2011 23:21:42 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:65845</guid><dc:creator>shniggens</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/65845.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=65845</wfw:commentRss><description>I&amp;#39;ve found the solution to capitilize the FIRST word of the text box - &lt;span&gt;&lt;/span&gt;&lt;span&gt;
&lt;p&gt;translate(substring(&amp;quot;field&amp;quot;, 1, 1), &amp;quot;abcdefghijklmnopqrstuvwxyz&amp;quot;, &amp;quot;ABCDEFGHIJKLMNOPQRSTUVWXYZ&amp;quot;), substring(&amp;quot;field&amp;quot;, 2, string-length(&amp;quot;field&amp;quot;) - 1)&lt;/p&gt;
&lt;p&gt;But what if you want to capitalize the first letter of EVERY word in the text box?&lt;/p&gt;
&lt;p&gt;I have a city text box that I want to do this with, so that San Diego will be correct, and not San diego.&amp;nbsp; &lt;/p&gt;
&lt;p&gt;Any thoughts?&lt;/p&gt;
&lt;p&gt;Thanks!&lt;/p&gt;&lt;/span&gt;</description></item></channel></rss>