<?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 How can I subdivide a string like &amp;quot;level1 | level2 | level3&amp;quot; into 3 Datafields in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/How-can-I-subdivide-a-string-like-quot-level1-level2-level3-quot/m-p/264884#M709685</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt; Hi,&lt;/P&gt;&lt;P&gt;You can Subfiled function.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;eg:&lt;/P&gt;&lt;TABLE cellspacing="0" style="margin-top: 14pt; width: 580px; margin-left: 40px;" width="580"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD style="width: 29%; padding: 7px;" valign="top" width="29%"&gt;&lt;P&gt;&lt;SPAN class="Bold"&gt;subfield(S, ';' ,2)&lt;/SPAN&gt; &lt;/P&gt;&lt;/TD&gt;&lt;TD style="width: 71%; padding: 7px;" valign="top" width="71%"&gt;&lt;P&gt;returns '&lt;SPAN style="font-style: italic;"&gt;cde&lt;/SPAN&gt;' if S is '&lt;SPAN style="font-style: italic;"&gt;abc&lt;/SPAN&gt;;&lt;SPAN style="font-style: italic;"&gt;cde&lt;/SPAN&gt;;&lt;SPAN style="font-style: italic;"&gt;efg&lt;/SPAN&gt;'&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 21 Oct 2011 07:28:00 GMT</pubDate>
    <dc:creator />
    <dc:date>2011-10-21T07:28:00Z</dc:date>
    <item>
      <title>How can I subdivide a string like "level1 | level2 | level3" into 3 Datafields</title>
      <link>https://community.qlik.com/t5/QlikView/How-can-I-subdivide-a-string-like-quot-level1-level2-level3-quot/m-p/264883#M709684</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt; Hi! I try to analyse our data from our ticketsystem. There is a field called section where users can choose the concerning topic of the ticket via a treeview. The database shows the 3 levels of this treeview as one string like 'level1 | level2 | level3'. How can I subdivide this string via script into three fields for each level? Thx!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 21 Oct 2011 07:04:26 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-can-I-subdivide-a-string-like-quot-level1-level2-level3-quot/m-p/264883#M709684</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2011-10-21T07:04:26Z</dc:date>
    </item>
    <item>
      <title>How can I subdivide a string like "level1 | level2 | level3" into 3 Datafields</title>
      <link>https://community.qlik.com/t5/QlikView/How-can-I-subdivide-a-string-like-quot-level1-level2-level3-quot/m-p/264884#M709685</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt; Hi,&lt;/P&gt;&lt;P&gt;You can Subfiled function.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;eg:&lt;/P&gt;&lt;TABLE cellspacing="0" style="margin-top: 14pt; width: 580px; margin-left: 40px;" width="580"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD style="width: 29%; padding: 7px;" valign="top" width="29%"&gt;&lt;P&gt;&lt;SPAN class="Bold"&gt;subfield(S, ';' ,2)&lt;/SPAN&gt; &lt;/P&gt;&lt;/TD&gt;&lt;TD style="width: 71%; padding: 7px;" valign="top" width="71%"&gt;&lt;P&gt;returns '&lt;SPAN style="font-style: italic;"&gt;cde&lt;/SPAN&gt;' if S is '&lt;SPAN style="font-style: italic;"&gt;abc&lt;/SPAN&gt;;&lt;SPAN style="font-style: italic;"&gt;cde&lt;/SPAN&gt;;&lt;SPAN style="font-style: italic;"&gt;efg&lt;/SPAN&gt;'&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 21 Oct 2011 07:28:00 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-can-I-subdivide-a-string-like-quot-level1-level2-level3-quot/m-p/264884#M709685</guid>
      <dc:creator />
      <dc:date>2011-10-21T07:28:00Z</dc:date>
    </item>
    <item>
      <title>How can I subdivide a string like "level1 | level2 | level3" into 3 Datafields</title>
      <link>https://community.qlik.com/t5/QlikView/How-can-I-subdivide-a-string-like-quot-level1-level2-level3-quot/m-p/264885#M709686</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try ths in your script.&lt;/P&gt;&lt;P&gt;Temp:&lt;/P&gt;&lt;P&gt;Load * Inline [&lt;/P&gt;&lt;P&gt;LinkValue,&lt;/P&gt;&lt;P&gt;level1 | level2 | level3&lt;/P&gt;&lt;P&gt;];&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LinkSplit:&lt;/P&gt;&lt;P&gt;Load LinkValue,subfield(LinkValue,'|') as LinkSplit Resident Temp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Drop table Temp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Kiran.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 21 Oct 2011 08:54:05 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-can-I-subdivide-a-string-like-quot-level1-level2-level3-quot/m-p/264885#M709686</guid>
      <dc:creator />
      <dc:date>2011-10-21T08:54:05Z</dc:date>
    </item>
    <item>
      <title>How can I subdivide a string like "level1 | level2 | level3" into 3 Datafields</title>
      <link>https://community.qlik.com/t5/QlikView/How-can-I-subdivide-a-string-like-quot-level1-level2-level3-quot/m-p/264886#M709687</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt; Thanks! Very helpful! &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/wink.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 26 Oct 2011 07:54:24 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-can-I-subdivide-a-string-like-quot-level1-level2-level3-quot/m-p/264886#M709687</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2011-10-26T07:54:24Z</dc:date>
    </item>
  </channel>
</rss>

