<?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: Subfield in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Subfield/m-p/843506#M296347</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks all Can you please explain me why syntax is written as below&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 12.800000190734863px;"&gt;BANK_BRANCH,&lt;STRONG&gt;'-',1&lt;/STRONG&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 25 May 2015 10:55:41 GMT</pubDate>
    <dc:creator>upaliwije</dc:creator>
    <dc:date>2015-05-25T10:55:41Z</dc:date>
    <item>
      <title>Subfield</title>
      <link>https://community.qlik.com/t5/QlikView/Subfield/m-p/843502#M296343</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Friends&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In may data table the following field exits&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;BANK_BRANCH&lt;/P&gt;&lt;P&gt;7287-001&lt;/P&gt;&lt;P&gt;7287-030&lt;/P&gt;&lt;P&gt;7287-050&lt;/P&gt;&lt;P&gt;7268-001&lt;/P&gt;&lt;P&gt;7750-005&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if(SUBFIELD(BANK_BRANCH,1,4)='7287','SEYLAN','OTHERS')AS&amp;nbsp; BANK,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have written above syntax and but in the results Retrun 'OTHERS' for&amp;nbsp; record. Pls tell where I am wrong&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 25 May 2015 10:48:26 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Subfield/m-p/843502#M296343</guid>
      <dc:creator>upaliwije</dc:creator>
      <dc:date>2015-05-25T10:48:26Z</dc:date>
    </item>
    <item>
      <title>Re: Subfield</title>
      <link>https://community.qlik.com/t5/QlikView/Subfield/m-p/843503#M296344</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;It should be&lt;/P&gt;&lt;P&gt;if(SUBFIELD(BANK_BRANCH,'-',1)='7287','SEYLAN','OTHERS')AS&amp;nbsp; BANK&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;Greeshma&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 25 May 2015 10:50:49 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Subfield/m-p/843503#M296344</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-05-25T10:50:49Z</dc:date>
    </item>
    <item>
      <title>Re: Subfield</title>
      <link>https://community.qlik.com/t5/QlikView/Subfield/m-p/843504#M296345</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;Your subfield Syntax is wrong&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;try like&lt;/P&gt;&lt;P&gt;if(SUBFIELD(BANK_BRANCH,'-',1)='7287','SEYLAN','OTHERS')AS&amp;nbsp; BANK,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 25 May 2015 10:50:56 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Subfield/m-p/843504#M296345</guid>
      <dc:creator>PrashantSangle</dc:creator>
      <dc:date>2015-05-25T10:50:56Z</dc:date>
    </item>
    <item>
      <title>Re: Subfield</title>
      <link>https://community.qlik.com/t5/QlikView/Subfield/m-p/843505#M296346</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;You should give the separator, its not like the mid function&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;if(SUBFIELD(BANK_BRANCH, '-',1)='7287', 'SEYLAN', 'OTHERS') AS&amp;nbsp; BANK&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Celambarasan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 25 May 2015 10:51:44 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Subfield/m-p/843505#M296346</guid>
      <dc:creator>CELAMBARASAN</dc:creator>
      <dc:date>2015-05-25T10:51:44Z</dc:date>
    </item>
    <item>
      <title>Re: Subfield</title>
      <link>https://community.qlik.com/t5/QlikView/Subfield/m-p/843506#M296347</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks all Can you please explain me why syntax is written as below&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 12.800000190734863px;"&gt;BANK_BRANCH,&lt;STRONG&gt;'-',1&lt;/STRONG&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 25 May 2015 10:55:41 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Subfield/m-p/843506#M296347</guid>
      <dc:creator>upaliwije</dc:creator>
      <dc:date>2015-05-25T10:55:41Z</dc:date>
    </item>
    <item>
      <title>Re: Subfield</title>
      <link>https://community.qlik.com/t5/QlikView/Subfield/m-p/843507#M296348</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;See in Help Menu&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You will get very good explanation of Subfield()&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 25 May 2015 10:58:14 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Subfield/m-p/843507#M296348</guid>
      <dc:creator>PrashantSangle</dc:creator>
      <dc:date>2015-05-25T10:58:14Z</dc:date>
    </item>
    <item>
      <title>Re: Subfield</title>
      <link>https://community.qlik.com/t5/QlikView/Subfield/m-p/843508#M296349</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Whatever function you came through in qlikview is well explained in QlikView help itself&lt;/P&gt;&lt;P&gt;From Help file&lt;/P&gt;&lt;P class="syntax"&gt;&lt;A name="kanchor1289"&gt;&lt;/A&gt;&lt;A class="Bold" name="subfield"&gt;subfield&lt;/A&gt;&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-weight: bold;"&gt; subfield&lt;/SPAN&gt; is used in a field expression in a &lt;SPAN style="font-weight: bold;"&gt;load&lt;/SPAN&gt; statement, the &lt;SPAN style="font-weight: bold;"&gt;subfield&lt;/SPAN&gt; function will cause the &lt;SPAN style="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;"&gt;s&lt;/SPAN&gt;. &lt;/P&gt;&lt;P&gt;In its two-parameter version, the &lt;SPAN style="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>Mon, 25 May 2015 11:00:44 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Subfield/m-p/843508#M296349</guid>
      <dc:creator>CELAMBARASAN</dc:creator>
      <dc:date>2015-05-25T11:00:44Z</dc:date>
    </item>
    <item>
      <title>Re: Subfield</title>
      <link>https://community.qlik.com/t5/QlikView/Subfield/m-p/843509#M296350</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;DIV&gt;&lt;H1 data-mc-conditions="Targets.NotToTranslate" style="margin: 0 0 10px; font-weight: 400; font-size: 2.856em;"&gt;SubField - script and chart function&lt;/H1&gt;&lt;P style="font-size: 14px; margin: 10px 0;"&gt;&lt;SPAN class="statement" style="font-weight: bold;"&gt;Subfield()&lt;/SPAN&gt; is used to extract substring components from a parent string field, where the original record fields consist of two or more parts separated by a delimiter.&lt;/P&gt;&lt;P style="font-size: 14px; margin: 10px 0;"&gt;The &lt;SPAN class="statement" style="font-weight: bold;"&gt;Subfield()&lt;/SPAN&gt; function can be used, for example, to extract first name and surname from a list of records consisting of full names, the component parts of a path name, or for extracting data from comma-separated tables.&lt;/P&gt;&lt;P style="font-size: 14px; margin: 10px 0;"&gt;If you use the &lt;SPAN class="statement" style="font-weight: bold;"&gt;Subfield()&lt;/SPAN&gt; function in a &lt;SPAN class="statement" style="font-weight: bold;"&gt;LOAD&lt;/SPAN&gt; statement with the optional field_no parameter left out, one full record will be generated for each substring. If several fields are loaded using &lt;SPAN class="statement" style="font-weight: bold;"&gt;Subfield()&lt;/SPAN&gt; the Cartesian products of all combinations are created.&lt;/P&gt;&lt;P class="syntax_heading" data-mc-autonum="Syntax: " style="font-size: 14px; margin: 10px 0; font-weight: bold;"&gt;&lt;SPAN class="autonumber"&gt;Syntax: &lt;/SPAN&gt; &lt;/P&gt;&lt;P class="syntax" data-mc-conditions="Targets.NotToTranslate" style="font-size: 16px; margin: 10px 0; font-family: Monaco, Menlo, Consolas, 'Courier New', monospace; background-color: #f4f4f4;"&gt;&lt;SPAN class="statement" style="font-weight: bold;"&gt;SubField(&lt;/SPAN&gt;text, delimiter[, field_no ]&lt;SPAN class="statement" style="font-weight: bold;"&gt;)&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="return_type" data-mc-autonum="Return data type: " style="font-size: 14px; margin: 10px 0;"&gt;&lt;SPAN class="autonumber" style="font-weight: bold;"&gt;Return data type: &lt;/SPAN&gt;string&lt;/P&gt;&lt;P class="arguments" data-mc-autonum="Arguments: " style="font-size: 14px; margin: 10px 0; font-weight: bold;"&gt;&lt;SPAN class="autonumber"&gt;Arguments: &lt;/SPAN&gt; &lt;/P&gt;&lt;TABLE cellspacing="0" class="TableStyle-tableGrid" style="margin-bottom: 15px; margin-right: auto;"&gt;&lt;THEAD style="border-top: 2px solid #0f0f0f;"&gt;&lt;TR class="Head-Header1"&gt;&lt;TH class="HeadI--" style="padding: 5px 7px; text-align: left;"&gt;Argument&lt;/TH&gt;&lt;TH class="HeadG--" style="padding: 5px 7px; text-align: left;"&gt;Description&lt;/TH&gt;&lt;/TR&gt;&lt;/THEAD&gt;&lt;TBODY style="border-top-width: 2px; border-top-color: #0f0f0f;"&gt;&lt;TR class="Body-Body1" style="border-bottom-width: 1px; border-bottom-color: #d5d5d5;"&gt;&lt;TD class="BodyI--" data-mc-conditions="Targets.NotToTranslate" style="padding: 7px; border: 1px solid #d5d5d5;"&gt;text&lt;/TD&gt;&lt;TD class="BodyG--" style="padding: 7px; border: 1px solid #d5d5d5;"&gt;The original string. This can be a hard-coded text, a variable, a dollar-sign expansion, or another expression.&lt;/TD&gt;&lt;/TR&gt;&lt;TR class="Body-Body1" style="border-bottom-width: 1px; border-bottom-color: #d5d5d5;"&gt;&lt;TD class="BodyI--" data-mc-conditions="Targets.NotToTranslate" style="padding: 7px; border: 1px solid #d5d5d5;"&gt;delimiter&lt;/TD&gt;&lt;TD class="BodyG--" style="padding: 7px; border: 1px solid #d5d5d5;"&gt;A character within the input &lt;SPAN class="statement" data-mc-conditions="Targets.NotToTranslate" style="font-weight: bold;"&gt;text&lt;/SPAN&gt; that divides the string into component parts.&lt;/TD&gt;&lt;/TR&gt;&lt;TR class="Body-Body1" style="border-bottom-width: 1px; border-bottom-color: #d5d5d5;"&gt;&lt;TD class="BodyC--" data-mc-conditions="Targets.NotToTranslate" style="padding: 7px; border: 1px solid #d5d5d5;"&gt;field_no&lt;/TD&gt;&lt;TD class="BodyA--" style="padding: 7px; border: 1px solid #d5d5d5;"&gt;The optional third argument is an integer that specifies which of the substrings of the parent string &lt;SPAN class="statement" data-mc-conditions="Targets.NotToTranslate" style="font-weight: bold;"&gt;text&lt;/SPAN&gt; is to be returned. Use the value 1 to return the first substring, 2 to return the second substring, and so on. A negative value causes the substring to be extracted from the right-hand side of the string. That is, the string search is from right to left, instead of left to right, if &lt;SPAN class="statement" data-mc-conditions="Targets.NotToTranslate" style="font-weight: bold;"&gt;field_no&lt;/SPAN&gt; is a positive value.&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;DIV class="tip" style="background: #f4f4f4; padding: 10px 10px 10px 55px; margin-bottom: 10px; margin-top: 10px; border-left: 3px solid #6eb43f;"&gt;SubField() can be used instead of using complex combinations of functions such as Len(), Right(), Left(), Mid(), and other string functions.&lt;P&gt;&lt;/P&gt;&lt;P class="MCDropDown_Open MCDropDown dropDown" style="background-position: no-repeat; margin-top: 10px;"&gt;&lt;SPAN class="MCDropDownHead dropDownHead"&gt;&lt;A class="dropDownHotspot MCDropDownHotSpot MCDropDownHotSpot_" style="color: #0066cc; padding-left: 2px;"&gt;&lt;IMG alt="Closed" class="jive-image MCDropDown_Image_Icon" data-mc-alt2="Open" height="13" src="https://help.qlik.com/en-US/sense/September2017/Subsystems/Hub/Skins/Default/Stylesheets/Images/transparent.gif" style="border-width: 0px;" width="16" /&gt;Examples and results:&lt;/A&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;TABLE cellspacing="0" class="TableStyle-tableGrid" style="margin-bottom: 15px; margin-right: auto;"&gt;&lt;THEAD style="border-top: 2px solid #0f0f0f;"&gt;&lt;TR class="Head-Header1"&gt;&lt;TH class="HeadI--" style="padding: 5px 7px; text-align: left;"&gt;Example&lt;/TH&gt;&lt;TH class="HeadG--" style="padding: 5px 7px; text-align: left;"&gt;Result&lt;/TH&gt;&lt;/TR&gt;&lt;/THEAD&gt;&lt;TBODY style="border-top-width: 2px; border-top-color: #0f0f0f;"&gt;&lt;TR class="Body-Body1" style="border-bottom-width: 1px; border-bottom-color: #d5d5d5;"&gt;&lt;TD class="BodyI--" data-mc-conditions="Targets.NotToTranslate" style="padding: 7px; border: 1px solid #d5d5d5;"&gt;&lt;SPAN class="Code" data-mc-conditions="Targets.NotToTranslate" style="font-family: Monaco, Menlo, Consolas, 'Courier New', monospace; font-size: 12px;"&gt;SubField(S, ';' ,2)&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD class="BodyG--" style="padding: 7px; border: 1px solid #d5d5d5;"&gt;Returns 'cde' if &lt;SPAN class="statement" data-mc-conditions="Targets.NotToTranslate" style="font-weight: bold;"&gt;S&lt;/SPAN&gt; is 'abc;cde;efg'.&lt;/TD&gt;&lt;/TR&gt;&lt;TR class="Body-Body1" style="border-bottom-width: 1px; border-bottom-color: #d5d5d5;"&gt;&lt;TD class="BodyI--" data-mc-conditions="Targets.NotToTranslate" style="padding: 7px; border: 1px solid #d5d5d5;"&gt;&lt;SPAN class="Code" data-mc-conditions="Targets.NotToTranslate" style="font-family: Monaco, Menlo, Consolas, 'Courier New', monospace; font-size: 12px;"&gt;SubField(S, ';' ,1)&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD class="BodyG--" style="padding: 7px; border: 1px solid #d5d5d5;"&gt;Returns NULL if &lt;SPAN class="statement" data-mc-conditions="Targets.NotToTranslate" style="font-weight: bold;"&gt;S&lt;/SPAN&gt; is an empty string.&lt;/TD&gt;&lt;/TR&gt;&lt;TR class="Body-Body1" style="border-bottom-width: 1px; border-bottom-color: #d5d5d5;"&gt;&lt;TD class="BodyI--" data-mc-conditions="Targets.NotToTranslate" style="padding: 7px; border: 1px solid #d5d5d5;"&gt;&lt;SPAN class="Code" data-mc-conditions="Targets.NotToTranslate" style="font-family: Monaco, Menlo, Consolas, 'Courier New', monospace; font-size: 12px;"&gt;SubField(S, ';' ,1)&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD class="BodyG--" style="padding: 7px; border: 1px solid #d5d5d5;"&gt;Returns an empty string if &lt;SPAN class="statement" data-mc-conditions="Targets.NotToTranslate" style="font-weight: bold;"&gt;S&lt;/SPAN&gt; is ';'.&lt;/TD&gt;&lt;/TR&gt;&lt;TR class="Body-Body1" style="border-bottom-width: 1px; border-bottom-color: #d5d5d5;"&gt;&lt;TD class="BodyI--" data-mc-conditions="Targets.NotToTranslate" style="padding: 7px; border: 1px solid #d5d5d5;"&gt;&lt;P style="font-size: inherit; margin: 0 0 5px;"&gt;Add the example script to your app and run it. Then add, at least, the fields listed in the results column to a sheet in your app to see the result.&lt;/P&gt;&lt;P class="Code" data-mc-conditions="Targets.NotToTranslate" style="font-size: 12px; font-family: Monaco, Menlo, Consolas, 'Courier New', monospace;"&gt;FullName:&lt;/P&gt;&lt;P class="Code" data-mc-conditions="Targets.NotToTranslate" style="font-size: 12px; font-family: Monaco, Menlo, Consolas, 'Courier New', monospace;"&gt;LOAD * inline [&lt;/P&gt;&lt;P class="Code" data-mc-conditions="Targets.NotToTranslate" style="font-size: 12px; font-family: Monaco, Menlo, Consolas, 'Courier New', monospace;"&gt;Name&lt;/P&gt;&lt;P class="Code" data-mc-conditions="Targets.NotToTranslate" style="font-size: 12px; font-family: Monaco, Menlo, Consolas, 'Courier New', monospace;"&gt;'Dave Owen'&lt;/P&gt;&lt;P class="Code" data-mc-conditions="Targets.NotToTranslate" style="font-size: 12px; font-family: Monaco, Menlo, Consolas, 'Courier New', monospace;"&gt;'Joe Tem'&lt;/P&gt;&lt;P class="Code" data-mc-conditions="Targets.NotToTranslate" style="font-size: 12px; font-family: Monaco, Menlo, Consolas, 'Courier New', monospace;"&gt;];&lt;/P&gt;&lt;P class="Code" data-mc-conditions="Targets.NotToTranslate"&gt;&lt;/P&gt;&lt;P class="Code" data-mc-conditions="Targets.NotToTranslate" style="font-size: 12px; font-family: Monaco, Menlo, Consolas, 'Courier New', monospace;"&gt;SepNames:&lt;/P&gt;&lt;P class="Code" data-mc-conditions="Targets.NotToTranslate" style="font-size: 12px; font-family: Monaco, Menlo, Consolas, 'Courier New', monospace;"&gt;Load Name,&lt;/P&gt;&lt;P class="Code" data-mc-conditions="Targets.NotToTranslate" style="font-size: 12px; font-family: Monaco, Menlo, Consolas, 'Courier New', monospace;"&gt;SubField(Name, ' ',1) as FirstName,&lt;/P&gt;&lt;P class="Code" data-mc-conditions="Targets.NotToTranslate" style="font-size: 12px; font-family: Monaco, Menlo, Consolas, 'Courier New', monospace;"&gt;SubField(Name, ' ',-1) as Surname&lt;/P&gt;&lt;P class="Code" data-mc-conditions="Targets.NotToTranslate" style="font-size: 12px; font-family: Monaco, Menlo, Consolas, 'Courier New', monospace;"&gt;Resident FullName;&lt;/P&gt;&lt;P class="Code" data-mc-conditions="Targets.NotToTranslate" style="font-size: 12px; font-family: Monaco, Menlo, Consolas, 'Courier New', monospace;"&gt;Drop Table FullName;&lt;/P&gt;&lt;/TD&gt;&lt;TD class="BodyG--" style="border: 1px solid #d5d5d5;"&gt;&lt;TABLE style="margin-bottom: 15px;"&gt;&lt;THEAD style="border-top: 2px solid #0f0f0f;"&gt;&lt;TR data-mc-conditions="Targets.NotToTranslate"&gt;&lt;TH data-mc-conditions="" style="padding: 5px 7px; text-align: left;"&gt;Name&lt;/TH&gt;&lt;TH data-mc-conditions="" style="padding: 5px 7px; text-align: left;"&gt;FirstName&lt;/TH&gt;&lt;TH data-mc-conditions="" style="padding: 5px 7px; text-align: left;"&gt;Surname&lt;/TH&gt;&lt;/TR&gt;&lt;/THEAD&gt;&lt;TBODY&gt;&lt;TR data-mc-conditions="Targets.NotToTranslate" style="border-bottom-width: 1px; border-bottom-color: #d5d5d5;"&gt;&lt;TD data-mc-conditions="" style="padding: 7px;"&gt;Dave Owen&lt;/TD&gt;&lt;TD data-mc-conditions="" style="padding: 7px;"&gt;Dave&lt;/TD&gt;&lt;TD data-mc-conditions="" style="padding: 7px;"&gt;Owen&lt;/TD&gt;&lt;/TR&gt;&lt;TR data-mc-conditions="Targets.NotToTranslate"&gt;&lt;TD data-mc-conditions="" style="padding: 7px;"&gt;Joe Tem&lt;/TD&gt;&lt;TD data-mc-conditions="" style="padding: 7px;"&gt;Joe&lt;/TD&gt;&lt;TD data-mc-conditions="" style="padding: 7px;"&gt;Tem&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR class="Body-Body1" style="border-bottom-width: 1px; border-bottom-color: #d5d5d5;"&gt;&lt;TD class="BodyI--" style="padding: 7px; border: 1px solid #d5d5d5;"&gt;&lt;P style="font-size: inherit; margin: 0 0 5px;"&gt;Suppose you have a variable that holds a path name vMyPath,&lt;/P&gt;&lt;P style="font-size: inherit; margin: 0 0 5px;"&gt;&lt;SPAN class="Code" data-mc-conditions="Targets.NotToTranslate" style="font-family: Monaco, Menlo, Consolas, 'Courier New', monospace; font-size: 12px;"&gt;Set vMyPath=\Users\ext_jrb\Documents\Qlik\Sense\Apps;&lt;/SPAN&gt;.&lt;/P&gt;&lt;/TD&gt;&lt;TD class="BodyG--" style="border: 1px solid #d5d5d5;"&gt;In a text &amp;amp; image chart, you can add a measure such as:&lt;BR /&gt;&lt;SPAN class="Code" style="font-family: Monaco, Menlo, Consolas, 'Courier New', monospace; font-size: 12px;"&gt;SubField(vMyPath, '\',-3&lt;/SPAN&gt;&lt;SPAN class="Code" style="font-family: Monaco, Menlo, Consolas, 'Courier New', monospace; font-size: 12px;"&gt;)&lt;/SPAN&gt;, which results in 'Qlik', because it is the substring third from the right-hand end of the variable vMyPath.&lt;/TD&gt;&lt;/TR&gt;&lt;TR class="Body-Body1" style="border-bottom-width: 1px; border-bottom-color: #d5d5d5;"&gt;&lt;TD class="BodyC--" style="padding: 7px; border: 1px solid #d5d5d5;"&gt;&lt;P style="font-size: inherit; margin: 0 0 5px;"&gt;This example shows how using multiple instances of the &lt;SPAN class="statement" style="font-weight: bold;"&gt;Subfield()&lt;/SPAN&gt; function, each with the field_no parameter left out, from within the same &lt;SPAN class="statement" style="font-weight: bold;"&gt;LOAD&lt;/SPAN&gt;statement creates Cartesian products of all combinations. The &lt;SPAN class="statement" style="font-weight: bold;"&gt;DISTINCT&lt;/SPAN&gt; option is used to avoid creating duplicate record.&lt;/P&gt;&lt;P style="font-size: inherit; margin: 0 0 5px;"&gt;Add the example script to your app and run it. Then add, at least, the fields listed in the results column to a sheet in your app to see the result.&lt;/P&gt;&lt;P class="Code" data-mc-conditions="Targets.NotToTranslate" style="font-size: 12px; font-family: Monaco, Menlo, Consolas, 'Courier New', monospace;"&gt;LOAD DISTINCT&lt;/P&gt;&lt;P class="Code" data-mc-conditions="Targets.NotToTranslate" style="font-size: 12px; font-family: Monaco, Menlo, Consolas, 'Courier New', monospace;"&gt;Instrument,&lt;/P&gt;&lt;P class="Code" data-mc-conditions="Targets.NotToTranslate" style="font-size: 12px; font-family: Monaco, Menlo, Consolas, 'Courier New', monospace;"&gt;SubField(Player,',') as Player,&lt;/P&gt;&lt;P class="Code" data-mc-conditions="Targets.NotToTranslate" style="font-size: 12px; font-family: Monaco, Menlo, Consolas, 'Courier New', monospace;"&gt;SubField(Project,',') as Project;&lt;/P&gt;&lt;P class="Code" data-mc-conditions="Targets.NotToTranslate"&gt;&lt;/P&gt;&lt;P class="Code" data-mc-conditions="Targets.NotToTranslate" style="font-size: 12px; font-family: Monaco, Menlo, Consolas, 'Courier New', monospace;"&gt;Load * inline [&lt;/P&gt;&lt;P class="Code" data-mc-conditions="Targets.NotToTranslate" style="font-size: 12px; font-family: Monaco, Menlo, Consolas, 'Courier New', monospace;"&gt;Instrument|Player|Project&lt;/P&gt;&lt;P class="Code" data-mc-conditions="Targets.NotToTranslate" style="font-size: 12px; font-family: Monaco, Menlo, Consolas, 'Courier New', monospace;"&gt;Guitar|Neil,Mike|Music,Video&lt;/P&gt;&lt;P class="Code" data-mc-conditions="Targets.NotToTranslate" style="font-size: 12px; font-family: Monaco, Menlo, Consolas, 'Courier New', monospace;"&gt;Guitar|Neil|Music,OST&lt;/P&gt;&lt;P class="Code" data-mc-conditions="Targets.NotToTranslate" style="font-size: 12px; font-family: Monaco, Menlo, Consolas, 'Courier New', monospace;"&gt;Synth|Neil,Jen|Music,Video,OST&lt;/P&gt;&lt;P class="Code" data-mc-conditions="Targets.NotToTranslate" style="font-size: 12px; font-family: Monaco, Menlo, Consolas, 'Courier New', monospace;"&gt;Synth|Jo|Music&lt;/P&gt;&lt;P class="Code" data-mc-conditions="Targets.NotToTranslate" style="font-size: 12px; font-family: Monaco, Menlo, Consolas, 'Courier New', monospace;"&gt;Guitar|Neil,Mike|Music,OST&lt;/P&gt;&lt;P class="Code" data-mc-conditions="Targets.NotToTranslate" style="font-size: 12px; font-family: Monaco, Menlo, Consolas, 'Courier New', monospace;"&gt;] (delimiter is '|');&lt;/P&gt;&lt;/TD&gt;&lt;TD class="BodyA--" style="border: 1px solid #d5d5d5;"&gt;&lt;TABLE style="margin-bottom: 15px;"&gt;&lt;THEAD style="border-top: 2px solid #0f0f0f;"&gt;&lt;TR data-mc-conditions="Targets.NotToTranslate"&gt;&lt;TH data-mc-conditions="" style="padding: 5px 7px; text-align: left;"&gt;Instrument&lt;/TH&gt;&lt;TH data-mc-conditions="" style="padding: 5px 7px; text-align: left;"&gt;Player&lt;/TH&gt;&lt;TH data-mc-conditions="" style="padding: 5px 7px; text-align: left;"&gt;Project&lt;/TH&gt;&lt;/TR&gt;&lt;/THEAD&gt;&lt;TBODY&gt;&lt;TR data-mc-conditions="Targets.NotToTranslate" style="border-bottom-width: 1px; border-bottom-color: #d5d5d5;"&gt;&lt;TD data-mc-conditions="" style="padding: 7px;"&gt;Guitar&lt;/TD&gt;&lt;TD data-mc-conditions="" style="padding: 7px;"&gt;Mike&lt;/TD&gt;&lt;TD data-mc-conditions="" style="padding: 7px;"&gt;Music&lt;/TD&gt;&lt;/TR&gt;&lt;TR data-mc-conditions="Targets.NotToTranslate" style="border-bottom-width: 1px; border-bottom-color: #d5d5d5;"&gt;&lt;TD data-mc-conditions="" style="padding: 7px;"&gt;Guitar&lt;/TD&gt;&lt;TD data-mc-conditions="" style="padding: 7px;"&gt;Mike&lt;/TD&gt;&lt;TD data-mc-conditions="" style="padding: 7px;"&gt;Video&lt;/TD&gt;&lt;/TR&gt;&lt;TR data-mc-conditions="Targets.NotToTranslate" style="border-bottom-width: 1px; border-bottom-color: #d5d5d5;"&gt;&lt;TD data-mc-conditions="" style="padding: 7px;"&gt;Guitar&lt;/TD&gt;&lt;TD data-mc-conditions="" style="padding: 7px;"&gt;Mike&lt;/TD&gt;&lt;TD data-mc-conditions="" style="padding: 7px;"&gt;OST&lt;/TD&gt;&lt;/TR&gt;&lt;TR data-mc-conditions="Targets.NotToTranslate" style="border-bottom-width: 1px; border-bottom-color: #d5d5d5;"&gt;&lt;TD data-mc-conditions="" style="padding: 7px;"&gt;Guitar&lt;/TD&gt;&lt;TD data-mc-conditions="" style="padding: 7px;"&gt;Neil&lt;/TD&gt;&lt;TD data-mc-conditions="" style="padding: 7px;"&gt;Music&lt;/TD&gt;&lt;/TR&gt;&lt;TR data-mc-conditions="Targets.NotToTranslate" style="border-bottom-width: 1px; border-bottom-color: #d5d5d5;"&gt;&lt;TD data-mc-conditions="" style="padding: 7px;"&gt;Guitar&lt;/TD&gt;&lt;TD data-mc-conditions="" style="padding: 7px;"&gt;Neil&lt;/TD&gt;&lt;TD data-mc-conditions="" style="padding: 7px;"&gt;Video&lt;/TD&gt;&lt;/TR&gt;&lt;TR data-mc-conditions="Targets.NotToTranslate" style="border-bottom-width: 1px; border-bottom-color: #d5d5d5;"&gt;&lt;TD data-mc-conditions="" style="padding: 7px;"&gt;Guitar&lt;/TD&gt;&lt;TD data-mc-conditions="" style="padding: 7px;"&gt;Neil&lt;/TD&gt;&lt;TD data-mc-conditions="" style="padding: 7px;"&gt;OST&lt;/TD&gt;&lt;/TR&gt;&lt;TR data-mc-conditions="Targets.NotToTranslate" style="border-bottom-width: 1px; border-bottom-color: #d5d5d5;"&gt;&lt;TD data-mc-conditions="" style="padding: 7px;"&gt;Synth&lt;/TD&gt;&lt;TD data-mc-conditions="" style="padding: 7px;"&gt;Jen&lt;/TD&gt;&lt;TD data-mc-conditions="" style="padding: 7px;"&gt;Music&lt;/TD&gt;&lt;/TR&gt;&lt;TR data-mc-conditions="Targets.NotToTranslate" style="border-bottom-width: 1px; border-bottom-color: #d5d5d5;"&gt;&lt;TD data-mc-conditions="" style="padding: 7px;"&gt;Synth&lt;/TD&gt;&lt;TD data-mc-conditions="" style="padding: 7px;"&gt;Jen&lt;/TD&gt;&lt;TD data-mc-conditions="" style="padding: 7px;"&gt;Video&lt;/TD&gt;&lt;/TR&gt;&lt;TR data-mc-conditions="Targets.NotToTranslate" style="border-bottom-width: 1px; border-bottom-color: #d5d5d5;"&gt;&lt;TD data-mc-conditions="" style="padding: 7px;"&gt;Synth&lt;/TD&gt;&lt;TD data-mc-conditions="" style="padding: 7px;"&gt;Jen&lt;/TD&gt;&lt;TD data-mc-conditions="" style="padding: 7px;"&gt;OST&lt;/TD&gt;&lt;/TR&gt;&lt;TR data-mc-conditions="Targets.NotToTranslate" style="border-bottom-width: 1px; border-bottom-color: #d5d5d5;"&gt;&lt;TD data-mc-conditions="" style="padding: 7px;"&gt;Synth&lt;/TD&gt;&lt;TD data-mc-conditions="" style="padding: 7px;"&gt;Jo&lt;/TD&gt;&lt;TD data-mc-conditions="" style="padding: 7px;"&gt;Music&lt;/TD&gt;&lt;/TR&gt;&lt;TR data-mc-conditions="Targets.NotToTranslate" style="border-bottom-width: 1px; border-bottom-color: #d5d5d5;"&gt;&lt;TD data-mc-conditions="" style="padding: 7px;"&gt;Synth&lt;/TD&gt;&lt;TD data-mc-conditions="" style="padding: 7px;"&gt;Neil&lt;/TD&gt;&lt;TD data-mc-conditions="" style="padding: 7px;"&gt;Music&lt;/TD&gt;&lt;/TR&gt;&lt;TR data-mc-conditions="Targets.NotToTranslate" style="border-bottom-width: 1px; border-bottom-color: #d5d5d5;"&gt;&lt;TD data-mc-conditions="" style="padding: 7px;"&gt;Synth&lt;/TD&gt;&lt;TD data-mc-conditions="" style="padding: 7px;"&gt;Neil&lt;/TD&gt;&lt;TD data-mc-conditions="" style="padding: 7px;"&gt;Video&lt;/TD&gt;&lt;/TR&gt;&lt;TR data-mc-conditions="Targets.NotToTranslate"&gt;&lt;TD data-mc-conditions="" style="padding: 7px;"&gt;Synth&lt;/TD&gt;&lt;TD data-mc-conditions="" style="padding: 7px;"&gt;Neil&lt;/TD&gt;&lt;TD data-mc-conditions="" style="padding: 7px;"&gt;OST&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;/P&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;P class="next-nav" style="padding: 50px 0 10px;"&gt;&lt;A href="https://help.qlik.com/en-US/sense/September2017/Subsystems/Hub/Content/Scripting/StringFunctions/RTrim.htm" style="color: #0066cc; border-bottom: 1px solid #0066cc;" title="Previous topic: RTrim"&gt;https://help.qlik.com/en-US/sense/September2017/Subsystems/Hub/Content/Scripting/StringFunctions/RTrim.htm&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 16 Feb 2018 05:49:51 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Subfield/m-p/843509#M296350</guid>
      <dc:creator>subhash_gherade</dc:creator>
      <dc:date>2018-02-16T05:49:51Z</dc:date>
    </item>
    <item>
      <title>Re: Subfield</title>
      <link>https://community.qlik.com/t5/QlikView/Subfield/m-p/1739075#M452831</link>
      <description>&lt;P&gt;How do I use this syntax if my data has not a delimeter?&lt;/P&gt;&lt;P&gt;Ex: 5F14GZ --&amp;gt; I want to extract 5F1&lt;/P&gt;&lt;P&gt;Thank you&lt;/P&gt;</description>
      <pubDate>Thu, 27 Aug 2020 09:55:14 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Subfield/m-p/1739075#M452831</guid>
      <dc:creator>arnauayuso</dc:creator>
      <dc:date>2020-08-27T09:55:14Z</dc:date>
    </item>
    <item>
      <title>Re: Subfield</title>
      <link>https://community.qlik.com/t5/QlikView/Subfield/m-p/1863107#M1216206</link>
      <description>&lt;P&gt;In this case youcan use&amp;nbsp; either&amp;nbsp; MID 0r Left function.&lt;/P&gt;
&lt;P&gt;MID('&lt;SPAN&gt;5F14GZ','1','3') =Return&amp;nbsp; 5F1&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;Left('&lt;SPAN&gt;5F14GZ',3) == 5F1&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 24 Nov 2021 13:32:15 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Subfield/m-p/1863107#M1216206</guid>
      <dc:creator>khadar</dc:creator>
      <dc:date>2021-11-24T13:32:15Z</dc:date>
    </item>
    <item>
      <title>Re: Subfield</title>
      <link>https://community.qlik.com/t5/QlikView/Subfield/m-p/1863394#M1216219</link>
      <description>&lt;P&gt;It should be&lt;/P&gt;
&lt;P&gt;if(SUBFIELD(BANK_BRANCH,'-',1)='7287','SEYLAN','OTHERS')AS&amp;nbsp; BANK&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Regards,&lt;/P&gt;</description>
      <pubDate>Thu, 25 Nov 2021 06:44:46 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Subfield/m-p/1863394#M1216219</guid>
      <dc:creator>yuvraj</dc:creator>
      <dc:date>2021-11-25T06:44:46Z</dc:date>
    </item>
  </channel>
</rss>

