<?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: what is subfield and substringcount? in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/what-is-subfield-and-substringcount/m-p/918707#M983861</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Subfield helps you to&lt;/P&gt;&lt;P&gt;1- Break a string with delimiter into rows if used in script without positions number&lt;/P&gt;&lt;P&gt;2- It helps you to extract part of a string when positions is specified.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SubStringCount&lt;/P&gt;&lt;P&gt;Returns the number of times the string substring appears within the string text.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps to simplify the two topics.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 11 Aug 2015 09:38:56 GMT</pubDate>
    <dc:creator>Gabriel</dc:creator>
    <dc:date>2015-08-11T09:38:56Z</dc:date>
    <item>
      <title>what is subfield and substringcount?</title>
      <link>https://community.qlik.com/t5/QlikView/what-is-subfield-and-substringcount/m-p/918704#M983858</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi &lt;/P&gt;&lt;P&gt;tell me about subfield with examples&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 11 Aug 2015 09:03:43 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/what-is-subfield-and-substringcount/m-p/918704#M983858</guid>
      <dc:creator>gkcchowdary</dc:creator>
      <dc:date>2015-08-11T09:03:43Z</dc:date>
    </item>
    <item>
      <title>Re: what is subfield and substringcount?</title>
      <link>https://community.qlik.com/t5/QlikView/what-is-subfield-and-substringcount/m-p/918705#M983859</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;why don't you look in help? or do you have further questions?&lt;/P&gt;&lt;P class="syntax"&gt;&lt;A name="kanchor1289"&gt;&lt;/A&gt;&lt;/P&gt;&lt;P class="syntax"&gt;subfield&lt;SPAN class="Bold"&gt;(&lt;/SPAN&gt;&lt;SPAN class="Italic"&gt;s, 'delimiter' [ , index ] &lt;/SPAN&gt;&lt;SPAN class="Bold"&gt;)&lt;/SPAN&gt; &lt;/P&gt;&lt;P&gt;In its three-parameter version, this script function returns a given substring from a larger string &lt;SPAN class="Italic"&gt;s&lt;/SPAN&gt; with delimiter &lt;SPAN class="Italic"&gt;'delimiter'&lt;/SPAN&gt;. &lt;SPAN class="Italic"&gt;index&lt;/SPAN&gt; is an optional integer denoting which of the substrings should be returned. If &lt;SPAN class="Italic"&gt;index&lt;/SPAN&gt; is omitted when&lt;SPAN style="font-style: normal; font-weight: bold;"&gt; subfield&lt;/SPAN&gt; is used in a field expression in a &lt;SPAN style="font-style: normal; font-weight: bold;"&gt;load&lt;/SPAN&gt; statement, the &lt;SPAN style="font-style: normal; font-weight: bold;"&gt;subfield&lt;/SPAN&gt; function will cause the &lt;SPAN style="font-style: normal; font-weight: bold;"&gt;load&lt;/SPAN&gt; statement to automatically generate one full record of input data for each substring that can be found in &lt;SPAN style="font-style: italic; font-weight: normal;"&gt;s&lt;/SPAN&gt;. &lt;/P&gt;&lt;P&gt;In its two-parameter version, the &lt;SPAN style="font-style: normal; font-weight: bold;"&gt;subfield&lt;/SPAN&gt; function generates one record for each substring that can be taken from a larger string &lt;SPAN class="Italic"&gt;s&lt;/SPAN&gt; with the delimiter &lt;SPAN class="Italic"&gt;'delimiter'&lt;/SPAN&gt;. If several &lt;SPAN style="font-weight: bold;"&gt;subfield&lt;/SPAN&gt; functions are used in the same &lt;SPAN style="font-weight: bold;"&gt;load&lt;/SPAN&gt; statement, the Cartesian product of all combinations will be generated. &lt;/P&gt;&lt;P class="example"&gt;Examples:&lt;/P&gt;&lt;P&gt;(For three parameters)&lt;/P&gt;&lt;P&gt;&lt;SPAN class="Code"&gt;subfield(S, ';' ,2)&lt;/SPAN&gt; returns '&lt;SPAN class="Italic"&gt;cde&lt;/SPAN&gt;' if S is '&lt;SPAN class="Italic"&gt;abc&lt;/SPAN&gt;;&lt;SPAN class="Italic"&gt;cde&lt;/SPAN&gt;;&lt;SPAN class="Italic"&gt;efg&lt;/SPAN&gt;'&lt;/P&gt;&lt;P&gt;&lt;SPAN class="Code"&gt;subfield(S, ';' ,1)&lt;/SPAN&gt; returns NULL if S is an empty string&lt;/P&gt;&lt;P&gt;&lt;SPAN class="Code"&gt;subfield(S, ';' ,1)&lt;/SPAN&gt; returns an empty string if S is ';'&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 11 Aug 2015 09:05:46 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/what-is-subfield-and-substringcount/m-p/918705#M983859</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-08-11T09:05:46Z</dc:date>
    </item>
    <item>
      <title>Re: what is subfield and substringcount?</title>
      <link>https://community.qlik.com/t5/QlikView/what-is-subfield-and-substringcount/m-p/918706#M983860</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Simply Subfield works based on delimiter you can extract the string&lt;/P&gt;&lt;P&gt;it is very useful to extract the string from input data&lt;/P&gt;&lt;P&gt;ex:&lt;/P&gt;&lt;P&gt;Syntax: Subfield(Text,Delimitor,Position of extracted Part)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Ex: The below is my data which contains EmpID, Name, Age, i want to extract and display seperatly&lt;/P&gt;&lt;P&gt;03/ARUMAMAHESH/28&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now Subfield is very useful to work with this type data&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Subfield('03/ARUMAMAHESH/28','/',1) gives the 03&lt;/P&gt;&lt;P&gt;Subfield('03/ARUMAMAHESH/28','/',2) gives the ARUMAMAHESH&lt;/P&gt;&lt;P&gt;Subfield('03/ARUMAMAHESH/28','/',3) gives the 28&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;ARUMAMAHESH&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 11 Aug 2015 09:21:44 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/what-is-subfield-and-substringcount/m-p/918706#M983860</guid>
      <dc:creator />
      <dc:date>2015-08-11T09:21:44Z</dc:date>
    </item>
    <item>
      <title>Re: what is subfield and substringcount?</title>
      <link>https://community.qlik.com/t5/QlikView/what-is-subfield-and-substringcount/m-p/918707#M983861</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Subfield helps you to&lt;/P&gt;&lt;P&gt;1- Break a string with delimiter into rows if used in script without positions number&lt;/P&gt;&lt;P&gt;2- It helps you to extract part of a string when positions is specified.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SubStringCount&lt;/P&gt;&lt;P&gt;Returns the number of times the string substring appears within the string text.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps to simplify the two topics.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 11 Aug 2015 09:38:56 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/what-is-subfield-and-substringcount/m-p/918707#M983861</guid>
      <dc:creator>Gabriel</dc:creator>
      <dc:date>2015-08-11T09:38:56Z</dc:date>
    </item>
  </channel>
</rss>

