<?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>Action to convert user input for Last Name to ProperCase</title><link>https://www.infopathdev.com:443/forums/thread/99982.aspx</link><pubDate>Sat, 08 Nov 2014 03:39:22 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:99982</guid><dc:creator>pmo365.com</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/99982.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=99982</wfw:commentRss><description>&lt;p&gt;&lt;strong&gt;Does anyone know of a&amp;nbsp;codeless and smarter way to&amp;nbsp;both validate and creation of actions to correct&amp;nbsp;user input&amp;nbsp;of Last Names (surnames) so that they are all Proper Cased capitalisation?&lt;/strong&gt;&amp;nbsp;&amp;nbsp;&lt;/p&gt;&lt;p&gt;&lt;em&gt;I can come up with&amp;nbsp;a&amp;nbsp;solution that handles most of the following conditions&amp;nbsp;with a lot of conditions and&amp;nbsp;pattern matching, but not for all them.&amp;nbsp; There must be a more efficient way to handle all name types of such as the following examples:&lt;/em&gt;&lt;/p&gt;&lt;ul&gt;&lt;li&gt;&lt;div style="margin-right:0px;"&gt;Brooks&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;em&gt; &amp;nbsp;-&amp;nbsp;single word&lt;/em&gt;&lt;/div&gt;&lt;/li&gt;&lt;li&gt;Graham-King&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;em&gt;&amp;nbsp; - one hyphen&lt;/em&gt;&lt;/li&gt;&lt;li&gt;Van Dyck&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;em&gt;&amp;nbsp;- with one space&lt;/em&gt;&lt;/li&gt;&lt;li&gt;&lt;em&gt;Van-Der-Laan&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; - with two hyphens&lt;/em&gt;&lt;/li&gt;&lt;li&gt;Van Der Laan&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;em&gt; - with two Spaces&lt;/em&gt;&lt;/li&gt;&lt;li&gt;O&amp;#39;Connor&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;em&gt; - with one&amp;nbsp;apostrophe&lt;/em&gt;&lt;/li&gt;&lt;li&gt;MacDonald&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;em&gt;&amp;nbsp; - &amp;#39;Mac&amp;#39; names&amp;nbsp; (tough to distinguish between MacDonald and Maclean)&lt;/em&gt;&lt;/li&gt;&lt;li&gt;McDonald&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;em&gt; - &amp;quot;Mc&amp;#39; names&lt;/em&gt;&lt;/li&gt;&lt;li&gt;&lt;em&gt;St. Francis&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; - &amp;quot;St.&amp;#39; with or without the fullstop (.) names&lt;/em&gt;&lt;/li&gt;&lt;li&gt;Van&amp;nbsp;der&amp;nbsp;s&amp;#39;Graven&lt;em&gt;-&amp;nbsp;containing combinations of apostrophe, hyphen and spaces&lt;/em&gt;&lt;/li&gt;&lt;/ul&gt;&lt;p&gt;&amp;nbsp;All help and comments would be greatly appreciated!!&lt;/p&gt;&lt;p&gt;pmo365&lt;/p&gt;</description></item></channel></rss>