<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Mid function along with index function in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Mid-function-along-with-index-function/m-p/902492#M654102</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try like&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Left(PhoneNumber, Index(PhoneNumber,'-')-1) as lft,&lt;/P&gt;&lt;P&gt;Mid(PhoneNumber,Index(PhoneNumber,'-')+1,&lt;STRONG&gt;Index(PhoneNumber,'-',2)-Index(PhoneNumber,'-',1)&lt;/STRONG&gt;)as mid,&lt;/P&gt;&lt;P&gt;Index(PhoneNumber,'-')+1 as 1,&lt;/P&gt;&lt;P&gt;Len(PhoneNumber) as Len,&lt;/P&gt;&lt;P&gt;Index(PhoneNumber,'-',2) as 2,&lt;/P&gt;&lt;P&gt;Len(PhoneNumber)-Index(PhoneNumber,'-',2) as 3,&lt;/P&gt;&lt;P&gt;Right(PhoneNumber,Len(PhoneNumber)- Index(PhoneNumber,'-',2)) as right&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sun, 19 Jul 2015 17:39:19 GMT</pubDate>
    <dc:creator>swuehl</dc:creator>
    <dc:date>2015-07-19T17:39:19Z</dc:date>
    <item>
      <title>Mid function along with index function</title>
      <link>https://community.qlik.com/t5/QlikView/Mid-function-along-with-index-function/m-p/902491#M654101</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Team,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am trying to split phone number column into 3 parts base on a delimiter '-'.&lt;/P&gt;&lt;P&gt;I know that it's quite easy to resolve the above problem using subfield() function.&lt;/P&gt;&lt;P&gt;But, I want to try the same using Index function.&lt;/P&gt;&lt;P&gt;I have successfully achieved the leftmost and the rightmost column but i don't know what mistake i am doing in my logic to achieve the middle part of the phone number.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have attached my qvw file for your reference.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Priyanka&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 19 Jul 2015 17:24:35 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Mid-function-along-with-index-function/m-p/902491#M654101</guid>
      <dc:creator />
      <dc:date>2015-07-19T17:24:35Z</dc:date>
    </item>
    <item>
      <title>Re: Mid function along with index function</title>
      <link>https://community.qlik.com/t5/QlikView/Mid-function-along-with-index-function/m-p/902492#M654102</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try like&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Left(PhoneNumber, Index(PhoneNumber,'-')-1) as lft,&lt;/P&gt;&lt;P&gt;Mid(PhoneNumber,Index(PhoneNumber,'-')+1,&lt;STRONG&gt;Index(PhoneNumber,'-',2)-Index(PhoneNumber,'-',1)&lt;/STRONG&gt;)as mid,&lt;/P&gt;&lt;P&gt;Index(PhoneNumber,'-')+1 as 1,&lt;/P&gt;&lt;P&gt;Len(PhoneNumber) as Len,&lt;/P&gt;&lt;P&gt;Index(PhoneNumber,'-',2) as 2,&lt;/P&gt;&lt;P&gt;Len(PhoneNumber)-Index(PhoneNumber,'-',2) as 3,&lt;/P&gt;&lt;P&gt;Right(PhoneNumber,Len(PhoneNumber)- Index(PhoneNumber,'-',2)) as right&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 19 Jul 2015 17:39:19 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Mid-function-along-with-index-function/m-p/902492#M654102</guid>
      <dc:creator>swuehl</dc:creator>
      <dc:date>2015-07-19T17:39:19Z</dc:date>
    </item>
    <item>
      <title>Re: Mid function along with index function</title>
      <link>https://community.qlik.com/t5/QlikView/Mid-function-along-with-index-function/m-p/902493#M654103</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;First-&lt;/P&gt;&lt;P&gt;=mid(Phone_Number.PhoneNumber,1,Index(Phone_Number.PhoneNumber,'-',1)-1)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Mid -&lt;/P&gt;&lt;P&gt;=mid(Phone_Number.PhoneNumber,Index(Phone_Number.PhoneNumber,'-',1)+1,Index(Phone_Number.PhoneNumber,'-',2)-(Index(Phone_Number.PhoneNumber,'-',1)+1))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Last-&lt;/P&gt;&lt;P&gt;=mid(Phone_Number.PhoneNumber,Index(Phone_Number.PhoneNumber,'-',2)+1)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 19 Jul 2015 17:58:14 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Mid-function-along-with-index-function/m-p/902493#M654103</guid>
      <dc:creator>Kushal_Chawda</dc:creator>
      <dc:date>2015-07-19T17:58:14Z</dc:date>
    </item>
    <item>
      <title>Re: Mid function along with index function</title>
      <link>https://community.qlik.com/t5/QlikView/Mid-function-along-with-index-function/m-p/902494#M654104</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Mid :&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #0000ff; font-size: 10pt;"&gt;Mid&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt;(&lt;SPAN style="color: #800000;"&gt;[Phone-1.PhoneNumber]&lt;/SPAN&gt;,&lt;SPAN style="color: #0000ff;"&gt;Index&lt;/SPAN&gt;(&lt;SPAN style="color: #800000;"&gt;[Phone-1.PhoneNumber]&lt;/SPAN&gt;,'-')+1,&lt;SPAN style="color: #0000ff;"&gt;Index&lt;/SPAN&gt;(&lt;SPAN style="color: #800000;"&gt;[Phone-1.PhoneNumber]&lt;/SPAN&gt;,'-',2)-&lt;SPAN style="color: #0000ff;"&gt;Index&lt;/SPAN&gt;(&lt;SPAN style="color: #800000;"&gt;[Phone-1.PhoneNumber]&lt;/SPAN&gt;,'-')-1) &lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 19 Jul 2015 18:23:38 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Mid-function-along-with-index-function/m-p/902494#M654104</guid>
      <dc:creator>antoniotiman</dc:creator>
      <dc:date>2015-07-19T18:23:38Z</dc:date>
    </item>
    <item>
      <title>Re: Mid function along with index function</title>
      <link>https://community.qlik.com/t5/QlikView/Mid-function-along-with-index-function/m-p/902495#M654105</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi &lt;STRONG style="font-size: 11.6999998092651px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;A href="https://community.qlik.com/people/Priyanka018"&gt;Priyanka018&lt;/A&gt;&lt;/STRONG&gt;,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Use this app.&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Capture1.JPG" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/93292_Capture1.JPG" style="height: 120px; width: 620px;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Capture.JPG" class="jive-image image-2" src="https://community.qlik.com/legacyfs/online/93293_Capture.JPG" style="height: auto;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 20 Jul 2015 00:40:40 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Mid-function-along-with-index-function/m-p/902495#M654105</guid>
      <dc:creator>qlikviewwizard</dc:creator>
      <dc:date>2015-07-20T00:40:40Z</dc:date>
    </item>
  </channel>
</rss>

