<?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>Controls</title><link>https://www.infopathdev.com:443/forums/43.aspx</link><description> </description><dc:language>en</dc:language><generator>CommunityServer 2007 SP3 (Build: 31118.962)</generator><item><title>Re: replacing/changing form of names in rules?</title><link>https://www.infopathdev.com:443/forums/thread/98348.aspx</link><pubDate>Wed, 16 Jul 2014 13:46:54 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:98348</guid><dc:creator>rcl0404</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/98348.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=43&amp;PostID=98348</wfw:commentRss><description>&lt;p&gt;Nevermind, figured it out.&lt;/p&gt;&lt;p&gt;in case this can help anyone else:&lt;/p&gt;&lt;p&gt;NETWORK\John.Smith&lt;/p&gt;&lt;p&gt;I used the substring and translate functions like so in a rule:&lt;/p&gt;&lt;p&gt;translate(.,&amp;quot;.&amp;quot;,&amp;quot; &amp;quot;) turning above^&amp;nbsp;into NETWORK\John Smith&lt;/p&gt;&lt;p&gt;Then&lt;/p&gt;&lt;p&gt;Substring-after(.,&amp;quot;NETWORK\&amp;quot;)&lt;/p&gt;&lt;p&gt;giving me the final desired result, John Smith&lt;/p&gt;&lt;p&gt;I guess I wasnt looking for a replace function, the substring-after/before functions work great for inputs with constants.&lt;/p&gt;</description></item><item><title>Re: replacing/changing form of names in rules?</title><link>https://www.infopathdev.com:443/forums/thread/98335.aspx</link><pubDate>Tue, 15 Jul 2014 20:03:03 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:98335</guid><dc:creator>rcl0404</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/98335.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=43&amp;PostID=98335</wfw:commentRss><description>&lt;p&gt;Just had a thought:&lt;/p&gt;&lt;p&gt;Is there a way for the field to take into account white space? If I translate &amp;quot;\&amp;quot; and &amp;quot;.&amp;quot; to &amp;quot; &amp;quot;(space) then that gives me three separate words. In C++, I could use this. No idea how it works in this program.&lt;/p&gt;&lt;p&gt;&amp;nbsp;ROUGH-suedo method of doing this in C (im rusty):&lt;/p&gt;&lt;p&gt;NETWORK\John.Smith-&amp;gt;translate(., &amp;quot;\&amp;nbsp;.&amp;quot;, &amp;quot; &amp;quot;)-&amp;gt;NETWORK John Smith-- cin&amp;gt;&amp;gt; blank, first, last; cout&amp;lt;&amp;lt;first last;&lt;/p&gt;&lt;p&gt;I guess I&amp;#39;m asking if separating with spaces makes this easier.&lt;/p&gt;</description></item><item><title>replacing/changing form of names in rules?</title><link>https://www.infopathdev.com:443/forums/thread/98332.aspx</link><pubDate>Tue, 15 Jul 2014 19:14:39 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:98332</guid><dc:creator>rcl0404</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/98332.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=43&amp;PostID=98332</wfw:commentRss><description>&lt;p&gt;Hi, very new to this but&amp;nbsp;I have the basics.&lt;/p&gt;&lt;p&gt;Situation:&lt;/p&gt;&lt;p&gt;I have a people picker pulling from an ishare list of names. I want to take the result from this people picker, and pass it to a normal text field. (the people picker still needs to display itself in it&amp;#39;s origional form in it&amp;#39;s own field)&amp;nbsp;However, it needs to be in a different format and be somewhat cut down in the second text field, &amp;quot;AppName&amp;quot;.&lt;/p&gt;&lt;p&gt;current result in the text field: NETWORK\First.Last&lt;/p&gt;&lt;p&gt;Desired result in the text field: First Last&lt;/p&gt;&lt;p&gt;ex. &amp;quot;NETWORK\John.Smith&amp;quot; becomes &amp;quot;John Smith&amp;quot;&lt;/p&gt;&lt;p&gt;were this code, I would do somthing to the effect of [&amp;quot;NETWORK\&amp;quot; = &amp;#39;\0&amp;#39;] and [&amp;quot;.&amp;quot; = &amp;quot; &amp;quot;]&lt;/p&gt;&lt;p&gt;or somthing to that effect (not working code,&amp;nbsp;I know). I tried doing somthing like this in the formula box, it returned &amp;quot;false&amp;quot; when&amp;nbsp;previewing the form however. Any help? I&amp;#39;ve seen somthing called &amp;quot;concat&amp;quot; thrown around the web, dont understand it...&lt;/p&gt;&lt;p&gt;Attempted Method:&lt;/p&gt;&lt;p&gt;picker pulls successfully, and displays as desired in it&amp;#39;s box. I have the text field, &amp;quot;AppName&amp;quot;, default value to &amp;quot;AccountID&amp;quot; as it has the least extra stuff in comparison to &amp;quot;DisplayName&amp;quot;.&lt;/p&gt;&lt;p&gt;I have attempted using the translate function, successfully removing and replacing the &amp;quot;.&amp;quot; with a space, but it doesnt work at all with actual strings, so im stuck on the removing &amp;quot;NETWORK\&amp;quot; bit with NULL space&lt;/p&gt;</description></item></channel></rss>