<?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>InfoPath 2010</title><link>https://www.infopathdev.com:443/forums/142.aspx</link><description>Are you exploring new features coming up in 2010? Share information and ask questions here!</description><dc:language>en</dc:language><generator>CommunityServer 2007 SP3 (Build: 31118.962)</generator><item><title>Re: Remove text from field</title><link>https://www.infopathdev.com:443/forums/thread/103129.aspx</link><pubDate>Mon, 06 Jul 2015 20:17:28 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:103129</guid><dc:creator>Carphunter</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/103129.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=142&amp;PostID=103129</wfw:commentRss><description>Thanks once again for the help. Looks like that does just what i need.</description></item><item><title>Re: Remove text from field</title><link>https://www.infopathdev.com:443/forums/thread/103099.aspx</link><pubDate>Thu, 02 Jul 2015 23:03:37 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:103099</guid><dc:creator>Hilary Stoupa</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/103099.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=142&amp;PostID=103099</wfw:commentRss><description>&lt;p&gt;See the attached sample - I put the rules on a button instead of on form load, but they could be put on form load. Save the sample locally, right click and select design, then preview. Modify the value in field1 to test variations.&lt;/p&gt;</description></item><item><title>Remove text from field</title><link>https://www.infopathdev.com:443/forums/thread/103092.aspx</link><pubDate>Thu, 02 Jul 2015 18:49:55 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:103092</guid><dc:creator>Carphunter</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/103092.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=142&amp;PostID=103092</wfw:commentRss><description>&lt;p&gt;On form load, I&amp;#39;m picking up either the username or accountname from sharepoint&amp;#39;s user profile service.&lt;/p&gt;&lt;p&gt;we get different formats of the&amp;nbsp;name depending on browser or how the user was entered into our profile service.&lt;/p&gt;&lt;p&gt;&amp;nbsp;so... I want to set a rule that looks at the field we retrieve and remove extraneous domain information.&lt;/p&gt;&lt;p&gt;example:&amp;nbsp;&amp;nbsp; a clean username might be jblow123.&amp;nbsp;&amp;nbsp;&amp;nbsp;but we may&amp;nbsp;get back from the system DOMAINNAME\jblow123, or &lt;a href="mailto:jblow123@domain.com"&gt;jblow123@domain.com&lt;/a&gt;.&amp;nbsp; Or...&amp;nbsp;DOMAINNAME\jblow123@domain.com.&lt;/p&gt;&lt;p&gt;&amp;nbsp;I want to&amp;nbsp;make a couple of rules that say, if the returned&amp;nbsp;username contains DOMAINNAME\, remove it from the string; then, if username contains @domain.com, remove it from string.&lt;/p&gt;&lt;p&gt;I believe this can be done with a couple of concat rules... but I&amp;#39;m not good at those, so looking for&amp;nbsp;help.&amp;nbsp;&lt;/p&gt;</description></item></channel></rss>