<?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>Re: Get Extension from Phone Number</title><link>https://www.infopathdev.com:443/forums/thread/107727.aspx</link><pubDate>Fri, 19 Aug 2016 07:54:04 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:107727</guid><dc:creator>claire</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/107727.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=107727</wfw:commentRss><description>&lt;p&gt;&amp;nbsp;Thanks Hilary, this works fine, I was missing the string-length.&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;</description></item><item><title>Re: Get Extension from Phone Number</title><link>https://www.infopathdev.com:443/forums/thread/107722.aspx</link><pubDate>Thu, 18 Aug 2016 20:14:37 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:107722</guid><dc:creator>Hilary Stoupa</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/107722.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=107722</wfw:commentRss><description>Something like this: substring(Value[Name = &amp;quot;WorkPhone&amp;quot;], string-length(Value[Name = &amp;quot;WorkPhone&amp;quot;]) - 3)</description></item><item><title>Get Extension from Phone Number</title><link>https://www.infopathdev.com:443/forums/thread/107717.aspx</link><pubDate>Thu, 18 Aug 2016 14:38:13 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:107717</guid><dc:creator>claire</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/107717.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=107717</wfw:commentRss><description>&lt;p&gt;Good afternoon,&lt;/p&gt;&lt;p&gt;&amp;nbsp;I wonder if anyone could please help.&amp;nbsp; I have an InfoPath list form and a text box which using the User Profile Service returns the staff&amp;#39;s full phone number.&amp;nbsp; I have used &amp;nbsp;&lt;strong&gt;Value[Name = &amp;quot;WorkPhone&amp;quot;] &lt;/strong&gt;which is returning the right result, but what I&amp;#39;d like to do is only return the last four digits which would be the extension number.&amp;nbsp; Would someone be able to help with the formula.&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;Many thanks&amp;nbsp;&lt;/p&gt;</description></item></channel></rss>