<?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>Repeating Tables, People Picker and Double Eval</title><link>https://www.infopathdev.com:443/forums/thread/94883.aspx</link><pubDate>Fri, 20 Dec 2013 19:10:15 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:94883</guid><dc:creator>Anonymous</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/94883.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=94883</wfw:commentRss><description>I have a people picker in a repeating table: People Picker, Title, Phone, Email.  &lt;br /&gt;&lt;br /&gt;I am trying to parse the information so I can concatenate a statement: &lt;b&gt;DisplayName1&lt;/b&gt; at &lt;b&gt;Phone1&lt;/b&gt; or &lt;b&gt;DisplayName2&lt;/b&gt; at &lt;b&gt;Phone2&lt;/b&gt; ....
&lt;br /&gt;&lt;br /&gt;
I have &lt;b&gt;DisplayName1&lt;/b&gt; at &lt;b&gt;Phone1&lt;/b&gt;  or &lt;b&gt;DisplayName2&lt;/b&gt; at &lt;b&gt;Phone1&lt;/b&gt;  but as u can see Phone2 is the same as Phone1.
&lt;br /&gt;&lt;br /&gt;
My formula is: substring(eval(eval(DisplayName, &amp;#39;concat(substring-before(., &amp;quot;.&amp;quot;), &amp;quot; &amp;quot;, substring-after(., &amp;quot;.&amp;quot;), &amp;quot; at &amp;quot;, /my:AllFields/my:ReviewerInfo/my:ReviewerPhone, &amp;quot; or &amp;quot;)&amp;#39;), &amp;quot;..&amp;quot;), 1, string-length(eval(eval(DisplayName, &amp;#39;concat(substring-before(., &amp;quot;.&amp;quot;), &amp;quot; &amp;quot;, substring-after(., &amp;quot;.&amp;quot;), &amp;quot; at &amp;quot;, /my:AllFields/my:ReviewerInfo/my:ReviewerPhone, &amp;quot; or &amp;quot;)&amp;#39;), &amp;quot;..&amp;quot;)) - 4)</description></item></channel></rss>