<?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: using string function ..index,left,mid etc in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/using-string-function-index-left-mid-etc/m-p/1093820#M942191</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you for the quick reply&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But it gives me error,may be I missed something&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm attaching a sample file here&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 14 Jan 2016 17:27:42 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2016-01-14T17:27:42Z</dc:date>
    <item>
      <title>using string function ..index,left,mid etc</title>
      <link>https://community.qlik.com/t5/QlikView/using-string-function-index-left-mid-etc/m-p/1093818#M942189</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have a column with name like&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;John_Doe&lt;/P&gt;&lt;P&gt;Mary Jane&lt;/P&gt;&lt;P&gt;Charles,Ray&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I want to break them into first and lastname&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 14 Jan 2016 17:02:30 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/using-string-function-index-left-mid-etc/m-p/1093818#M942189</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-01-14T17:02:30Z</dc:date>
    </item>
    <item>
      <title>Re: using string function ..index,left,mid etc</title>
      <link>https://community.qlik.com/t5/QlikView/using-string-function-index-left-mid-etc/m-p/1093819#M942190</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Perhaps like this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;If(index(Name,',',subfield(Name, ',',-1), &lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; if(index(Name,'_',subfield(Name,'_',1),&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; if(index(Name,' ',subfield(Name,' ',1))) as FirstName&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;If(index(Name,',',subfield(Name, ',',1), &lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; if(index(Name,'_',subfield(Name,'_',-1),&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; if(index(Name,' ',subfield(Name,' ',-1))) as LastName&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 14 Jan 2016 17:08:14 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/using-string-function-index-left-mid-etc/m-p/1093819#M942190</guid>
      <dc:creator>Gysbert_Wassenaar</dc:creator>
      <dc:date>2016-01-14T17:08:14Z</dc:date>
    </item>
    <item>
      <title>Re: using string function ..index,left,mid etc</title>
      <link>https://community.qlik.com/t5/QlikView/using-string-function-index-left-mid-etc/m-p/1093820#M942191</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you for the quick reply&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But it gives me error,may be I missed something&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm attaching a sample file here&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 14 Jan 2016 17:27:42 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/using-string-function-index-left-mid-etc/m-p/1093820#M942191</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-01-14T17:27:42Z</dc:date>
    </item>
    <item>
      <title>Re: using string function ..index,left,mid etc</title>
      <link>https://community.qlik.com/t5/QlikView/using-string-function-index-left-mid-etc/m-p/1093821#M942192</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try this may be:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Test:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;LOAD If(KeepChar(Name, '_, ') = ',', SubField(Name, ',', 2),&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp; If(KeepChar(Name, '_, ') = '_', SubField(Name, '_', 1),&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp; If(KeepChar(Name, '_, ') = ' ', SubField(Name, ' ', 1)))) as [First Name],&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp; If(KeepChar(Name, '_, ') = ',', SubField(Name, ',', 1),&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp; If(KeepChar(Name, '_, ') = '_', SubField(Name, '_', 2),&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp; If(KeepChar(Name, '_, ') = ' ', SubField(Name, ' ', 2)))) as [Last Name];&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Load *&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt; INLINE [&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Name&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; John_Doe&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Mary Jane&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; "Charles,Ray"&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;];&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;IMG alt="Capture.PNG" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/111670_Capture.PNG" style="height: auto;" /&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 14 Jan 2016 17:32:11 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/using-string-function-index-left-mid-etc/m-p/1093821#M942192</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2016-01-14T17:32:11Z</dc:date>
    </item>
    <item>
      <title>Re: using string function ..index,left,mid etc</title>
      <link>https://community.qlik.com/t5/QlikView/using-string-function-index-left-mid-etc/m-p/1093822#M942193</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Or even this would work:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Test:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;LOAD Pick(Match(KeepChar(Name, '_, '), ',', '_', ' '), SubField(Name, ',', 2), SubField(Name, '_', 1), SubField(Name, ' ', 1)) as [First Name],&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp; Pick(Match(KeepChar(Name, '_, '), ',', '_', ' '), SubField(Name, ',', 1), SubField(Name, '_', 2), SubField(Name, ' ', 2)) as [Last Name];&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Load *&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt; INLINE [&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Name&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; John_Doe&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Mary Jane&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; "Charles,Ray"&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;];&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 14 Jan 2016 17:35:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/using-string-function-index-left-mid-etc/m-p/1093822#M942193</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2016-01-14T17:35:04Z</dc:date>
    </item>
    <item>
      <title>Re: using string function ..index,left,mid etc</title>
      <link>https://community.qlik.com/t5/QlikView/using-string-function-index-left-mid-etc/m-p/1093823#M942194</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you Sunny !&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 14 Jan 2016 17:38:21 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/using-string-function-index-left-mid-etc/m-p/1093823#M942194</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-01-14T17:38:21Z</dc:date>
    </item>
    <item>
      <title>Re: using string function ..index,left,mid etc</title>
      <link>https://community.qlik.com/t5/QlikView/using-string-function-index-left-mid-etc/m-p/1093824#M942195</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;another way to do is like below&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;Test:&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;Load *, subfield(replace(replace(Replace(Name,'_','*'),' ','*'),',','*'),'*',1) as [First Name],&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;subfield(replace(replace(Replace(Name,'_','*'),' ','*'),',','*'),'*',2) as [Last Name]&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt; INLINE [&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Name&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; John_Doe&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Mary Jane&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; "Charles,Ray"&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;];&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/111666_pastedImage_3.png" style="max-width: 1200px; max-height: 900px;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 14 Jan 2016 17:44:08 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/using-string-function-index-left-mid-etc/m-p/1093824#M942195</guid>
      <dc:creator>Kushal_Chawda</dc:creator>
      <dc:date>2016-01-14T17:44:08Z</dc:date>
    </item>
    <item>
      <title>Re: using string function ..index,left,mid etc</title>
      <link>https://community.qlik.com/t5/QlikView/using-string-function-index-left-mid-etc/m-p/1093825#M942196</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="font-size: 13.3333px;"&gt;Sunny,&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;Do you maintain a blog ?&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;If no you should write one.&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;Regards&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;B&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 14 Jan 2016 18:00:28 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/using-string-function-index-left-mid-etc/m-p/1093825#M942196</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-01-14T18:00:28Z</dc:date>
    </item>
    <item>
      <title>Re: using string function ..index,left,mid etc</title>
      <link>https://community.qlik.com/t5/QlikView/using-string-function-index-left-mid-etc/m-p/1093826#M942197</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hahaha thanks &lt;A _jive_internal="true" href="https://community.qlik.com/people/BalrajPrabhu"&gt;Balraj&lt;/A&gt;‌‌ for seeing the potential in me &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;.&lt;/P&gt;&lt;P&gt;I don't have a blog, but its on radar.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best,&lt;/P&gt;&lt;P&gt;Sunny&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 14 Jan 2016 18:05:37 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/using-string-function-index-left-mid-etc/m-p/1093826#M942197</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2016-01-14T18:05:37Z</dc:date>
    </item>
  </channel>
</rss>

