<?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: Concat string help [SOLVED]</title><link>https://www.infopathdev.com:443/forums/thread/98989.aspx</link><pubDate>Mon, 08 Sep 2014 09:29:41 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:98989</guid><dc:creator>davedmonds</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/98989.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=43&amp;PostID=98989</wfw:commentRss><description>&lt;p&gt;

Hi I wonder if you would be able to point me in the right direction for copying just the email address out of a string in the following format:&lt;/p&gt;&lt;p&gt;&amp;nbsp;i:0#.f|membership|12345@example.com&lt;/p&gt;&lt;p&gt;Cheers &lt;/p&gt;&lt;p&gt;Dave&lt;/p&gt;&lt;p&gt;Update, I used the following code to achieve&amp;nbsp;the desired result:&lt;/p&gt;&lt;p&gt;substring-after(temp email, &amp;quot;i:0#.f|membership|&amp;quot;)&lt;/p&gt;&lt;p&gt;&amp;nbsp;Cheers Dave&lt;/p&gt;</description></item><item><title>Re: Concat string help</title><link>https://www.infopathdev.com:443/forums/thread/79421.aspx</link><pubDate>Tue, 12 Jun 2012 17:20:37 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:79421</guid><dc:creator>Jimmy</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/79421.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=43&amp;PostID=79421</wfw:commentRss><description>&lt;p&gt;I think your best option is to have 4 textboxes with colons in between them, and then set the textboxes to limit to 2 characters and move to the next control when the 2 character limit is reached.&lt;/p&gt;&lt;p&gt;&amp;nbsp;On top of that, you can add a hidden&amp;nbsp;5th field whose default value formula is something like: concat(&lt;strong&gt;&lt;u&gt;firstPart&lt;/u&gt;, &amp;#39;:&amp;#39;, &lt;u&gt;secondPart&lt;/u&gt;, &amp;#39;:&amp;#39;, &lt;u&gt;thirdPart&lt;/u&gt;, &amp;#39;:&amp;#39;, &lt;u&gt;fourthPart&lt;/u&gt;)&lt;/strong&gt;&lt;/p&gt;</description></item><item><title>Re: Concat string help</title><link>https://www.infopathdev.com:443/forums/thread/79409.aspx</link><pubDate>Tue, 12 Jun 2012 11:56:13 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:79409</guid><dc:creator>nadavturgeman</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/79409.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=43&amp;PostID=79409</wfw:commentRss><description>&lt;p&gt;Hi
Please help me

&lt;/p&gt;&lt;p&gt;How can i create infopath field which has template on it? for example: i want this template:&lt;/p&gt;&lt;p&gt;00:00:00:00&lt;/p&gt;&lt;p&gt;and i want the client just to type the digits without the&amp;quot;:&amp;quot; between.&lt;/p&gt;&lt;p&gt;to get this result :&lt;/p&gt;&lt;p&gt;12:34:24:65&lt;/p&gt;&lt;p&gt;the client has to type just:&lt;/p&gt;&lt;p&gt;12342465&lt;/p&gt;&lt;p&gt;and automatically on the form he will get in the field this template:&lt;/p&gt;&lt;p&gt;00:00:00:00&lt;/p&gt;&lt;p&gt;thanks&lt;/p&gt;</description></item><item><title>Re: Concat string help</title><link>https://www.infopathdev.com:443/forums/thread/72099.aspx</link><pubDate>Tue, 15 Nov 2011 21:49:40 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:72099</guid><dc:creator>sudlev</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/72099.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=43&amp;PostID=72099</wfw:commentRss><description>&lt;p&gt;I didn&amp;#39;t think to try that, works a treat!&lt;/p&gt;
&lt;p&gt;Thanks&amp;nbsp;heaps Jimmy, much appreciated.&lt;/p&gt;</description></item><item><title>Re: Concat string help</title><link>https://www.infopathdev.com:443/forums/thread/72066.aspx</link><pubDate>Tue, 15 Nov 2011 08:06:00 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:72066</guid><dc:creator>Jimmy</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/72066.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=43&amp;PostID=72066</wfw:commentRss><description>&lt;p&gt;If you want to have double quotes in your string, use single quotes for the beginning and end of the string:&lt;/p&gt;
&lt;p&gt;concat(&amp;quot;This string has &amp;quot;, &amp;#39;some &amp;quot;double quotes&amp;quot; and &amp;#39;, &amp;quot;some &amp;#39;single quotes&amp;#39;.&amp;quot;)&lt;/p&gt;</description></item><item><title>Re: Concat string help</title><link>https://www.infopathdev.com:443/forums/thread/72060.aspx</link><pubDate>Tue, 15 Nov 2011 03:56:07 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:72060</guid><dc:creator>sudlev</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/72060.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=43&amp;PostID=72060</wfw:commentRss><description>&lt;p&gt;Hi Ernesto, &lt;/p&gt;
&lt;p&gt;Did you manage to find a way to include a double quote in a string? I am also trying to dynamically create a query but don&amp;#39;t know how to include the double quotes. I changed all the double quotes to single and this worked but I&amp;#39;m not sure if this causes any problems down the track.&lt;/p&gt;
&lt;p&gt;Danny&lt;/p&gt;</description></item><item><title>Re: Concat string help</title><link>https://www.infopathdev.com:443/forums/thread/55479.aspx</link><pubDate>Tue, 01 Jun 2010 12:37:42 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:55479</guid><dc:creator>andyoye</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/55479.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=43&amp;PostID=55479</wfw:commentRss><description>&lt;p&gt;&amp;nbsp;Thanks, I used &lt;/p&gt;&lt;p&gt;eval(eval(Person, &amp;#39;concat(substring-after(my:AccountId, &amp;quot;\&amp;quot;), &amp;quot;; &amp;quot;)&amp;#39;), &amp;quot;..&amp;quot;) to loop through to get User IDs. Now the text box holds i.e: tim; tom; jerry&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;How can I strip them out and assign to sperate textboxes? txtBox1 should holds tim, txtBox2 holds tom and txtBox3 holds jerry? &lt;br /&gt;&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;</description></item><item><title>Re: Concat string help</title><link>https://www.infopathdev.com:443/forums/thread/55439.aspx</link><pubDate>Sat, 29 May 2010 01:54:11 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:55439</guid><dc:creator>Jimmy</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/55439.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=43&amp;PostID=55439</wfw:commentRss><description>&lt;p&gt;substring-after(&lt;u&gt;field&lt;/u&gt;, &amp;#39;\&amp;#39;)&lt;/p&gt;</description></item><item><title>Re: Concat string help</title><link>https://www.infopathdev.com:443/forums/thread/55434.aspx</link><pubDate>Fri, 28 May 2010 20:14:06 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:55434</guid><dc:creator>andyoye</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/55434.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=43&amp;PostID=55434</wfw:commentRss><description>&lt;p&gt;&amp;nbsp;I have a Contact Selector control. I would like to extract the &amp;quot;AccountId&amp;quot;s out to text boxes. i.e Contact Selector has domain\userA; domain\userB&lt;/p&gt;&lt;p&gt;I would like textBox1= userA and textBox2= userB&lt;/p&gt;&lt;p&gt;Thanks&amp;nbsp; &lt;br /&gt;&lt;/p&gt;</description></item><item><title>Re: Concat string help</title><link>https://www.infopathdev.com:443/forums/thread/47336.aspx</link><pubDate>Fri, 25 Sep 2009 15:30:16 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:47336</guid><dc:creator>Qazi Anis</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/47336.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=43&amp;PostID=47336</wfw:commentRss><description>&lt;p&gt;&amp;nbsp;as per my understanding u have first name as firstname+2lettercountry code and you need to get firstname only. let firstnamep be the field having value = firstname+2 letter country code&lt;/p&gt;
&lt;p&gt;substring(firstnamep,1,length(firstnamep) - 2)&lt;/p&gt;</description></item><item><title>Re: Concat string help</title><link>https://www.infopathdev.com:443/forums/thread/42995.aspx</link><pubDate>Tue, 16 Jun 2009 06:51:14 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:42995</guid><dc:creator>apgcng</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/42995.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=43&amp;PostID=42995</wfw:commentRss><description>thanks mate! I did my own hack which separately parsed out the names but this method is much better. thanks again.</description></item><item><title>Re: Concat string help</title><link>https://www.infopathdev.com:443/forums/thread/42994.aspx</link><pubDate>Tue, 16 Jun 2009 06:44:12 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:42994</guid><dc:creator>Clay Fox</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/42994.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=43&amp;PostID=42994</wfw:commentRss><description>&lt;p&gt;Here ya go.&lt;/p&gt;
&lt;p&gt;concat(substring-before(substring-after(substring-after(displayname, &amp;quot;,&amp;quot;), &amp;quot; &amp;quot;), &amp;quot; &amp;quot;), &amp;quot;.&amp;quot;, substring-before(displayname, &amp;quot;,&amp;quot;), &amp;quot;@domain.com&amp;quot;)&lt;/p&gt;</description></item><item><title>Re: Concat string help</title><link>https://www.infopathdev.com:443/forums/thread/42930.aspx</link><pubDate>Mon, 15 Jun 2009 08:19:12 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:42930</guid><dc:creator>apgcng</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/42930.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=43&amp;PostID=42930</wfw:commentRss><description>&lt;p&gt;Hi, I have a similar issue&lt;/p&gt;
&lt;p&gt;Displayname is Lastname, Firstname (XX)&lt;/p&gt;
&lt;p&gt;Need to parse out the email address - &lt;a href="mailto:Firstname.Lastname@domain.com"&gt;Firstname.Lastname@domain.com&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Got most of it working from the posts here but now need to parse out firstname without the (XX) (note that XX is a two character country code)&lt;/p&gt;</description></item><item><title>Re: Concat string help</title><link>https://www.infopathdev.com:443/forums/thread/37169.aspx</link><pubDate>Thu, 15 Jan 2009 19:40:02 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:37169</guid><dc:creator>Alec Pojidaev</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/37169.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=43&amp;PostID=37169</wfw:commentRss><description>&lt;p&gt;The LastName and FirstName are your hidden fields they are not part of the formula. And here are the expressions to set your hidden fields to the new values. You will need two separate actions for each of your field.&lt;/p&gt;
&lt;p&gt;substring-before(DisplayName,&amp;quot; &amp;quot;) - which is to get the last name...&lt;/p&gt;
&lt;p&gt;substring-after(DisplayName,&amp;quot; &amp;quot;) - to get the first name&lt;/p&gt;</description></item><item><title>Re: Concat string help</title><link>https://www.infopathdev.com:443/forums/thread/37167.aspx</link><pubDate>Thu, 15 Jan 2009 19:04:20 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:37167</guid><dc:creator>nwade</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/37167.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=43&amp;PostID=37167</wfw:commentRss><description>&lt;p&gt;Hi Alec,&lt;/p&gt;
&lt;p&gt;Could you help me by maybe filling in the blanks for me....I&amp;#39;m a rookie at all of this just trying stuff as I go.&amp;nbsp; Unfortunately not a lot of it makes sense to me:&lt;/p&gt;
&lt;p&gt;so per your suggestion I should have the following?&lt;br /&gt;concat(translate(substring-before(DisplayName,&amp;quot; &amp;quot;))) - which is to get the last name...and then a separate one:&lt;br /&gt;concat(translate(substring-before(DisplayName,&amp;quot; &amp;quot;))) - to get the first name....but how would I go about putting them together.&lt;/p&gt;
&lt;p&gt;I tried applying your response and the forumla checker kept erroring on the &amp;quot;LastName&amp;quot; and &amp;quot;FirstName&amp;quot; parts.&lt;br /&gt;&lt;/p&gt;</description></item></channel></rss>