<?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: help me in triming the values? in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/help-me-in-triming-the-values/m-p/909275#M315750</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Subfield can return parts of the string based on a given delimeter. In your case it is :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Piece 1 =SYST&lt;/P&gt;&lt;P&gt;delimeter= :&lt;/P&gt;&lt;P&gt;Piece 2 = &lt;SPAN style="color: #000000; font-size: 10pt;"&gt;ACCOUNTS&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-size: 10pt;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-size: 10pt;"&gt;So we are simply telling the subfield function that we need the piece 2 of the string&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-size: 10pt;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-size: 10pt;"&gt;HTH&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 22 Jul 2015 08:22:29 GMT</pubDate>
    <dc:creator>sasiparupudi1</dc:creator>
    <dc:date>2015-07-22T08:22:29Z</dc:date>
    <item>
      <title>help me in triming the values?</title>
      <link>https://community.qlik.com/t5/QlikView/help-me-in-triming-the-values/m-p/909266#M315741</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-size: 10pt;"&gt;I need to remove the field value SYST: in the information field.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;TABLE border="0" cellpadding="0" cellspacing="0" width="170"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD class="xl63" height="17" width="170"&gt;&lt;SPAN style="color: #000000; font-size: 10pt;"&gt;Information&lt;/SPAN&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl64" height="17" style="border-top: medium none;"&gt;&lt;SPAN style="color: #000000; font-size: 10pt;"&gt;SYST: ACCOUNTS&lt;/SPAN&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl64" height="17" style="border-top: medium none;"&gt;&lt;SPAN style="color: #000000; font-size: 10pt;"&gt;SYST: ACCOUNTS&lt;/SPAN&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl64" height="17" style="border-top: medium none;"&gt;&lt;SPAN style="color: #000000; font-size: 10pt;"&gt;SYST: ACCOUNTS&lt;/SPAN&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl64" height="17" style="border-top: medium none;"&gt;&lt;SPAN style="color: #000000; font-size: 10pt;"&gt;SYST: ACCOUNTS&lt;/SPAN&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl64" height="17" style="border-top: medium none;"&gt;&lt;SPAN style="color: #000000; font-size: 10pt;"&gt;SYST: ACCOUNTS&lt;/SPAN&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl64" height="17" style="border-top: medium none;"&gt;&lt;SPAN style="color: #000000; font-size: 10pt;"&gt;SYST: ACCOUNTS&lt;/SPAN&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl64" height="17" style="border-top: medium none;"&gt;&lt;SPAN style="color: #000000; font-size: 10pt;"&gt;SYST: FINANCE&lt;/SPAN&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl64" height="17" style="border-top: medium none;"&gt;&lt;SPAN style="color: #000000; font-size: 10pt;"&gt;SYST: FINANCE&lt;/SPAN&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl64" height="17" style="border-top: medium none;"&gt;&lt;SPAN style="color: #000000; font-size: 10pt;"&gt;SYST: FINANCE&lt;/SPAN&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl64" height="17" style="border-top: medium none;"&gt;&lt;SPAN style="color: #000000; font-size: 10pt;"&gt;SYST: FINANCE&lt;/SPAN&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl64" height="17" style="border-top: medium none;"&gt;&lt;SPAN style="color: #000000; font-size: 10pt;"&gt;SYST: FINANCE&lt;/SPAN&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;help me in trimming.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 22 Jul 2015 07:55:16 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/help-me-in-triming-the-values/m-p/909266#M315741</guid>
      <dc:creator>durgabhavani</dc:creator>
      <dc:date>2015-07-22T07:55:16Z</dc:date>
    </item>
    <item>
      <title>Re: help me in triming the values?</title>
      <link>https://community.qlik.com/t5/QlikView/help-me-in-triming-the-values/m-p/909267#M315742</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;use Subfield()&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;try like subfield(fieldName,': ',2)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 22 Jul 2015 07:57:36 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/help-me-in-triming-the-values/m-p/909267#M315742</guid>
      <dc:creator>PrashantSangle</dc:creator>
      <dc:date>2015-07-22T07:57:36Z</dc:date>
    </item>
    <item>
      <title>Re: help me in triming the values?</title>
      <link>https://community.qlik.com/t5/QlikView/help-me-in-triming-the-values/m-p/909268#M315743</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Replace(Information,'SYST:','')&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 22 Jul 2015 07:58:35 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/help-me-in-triming-the-values/m-p/909268#M315743</guid>
      <dc:creator>antoniotiman</dc:creator>
      <dc:date>2015-07-22T07:58:35Z</dc:date>
    </item>
    <item>
      <title>Re: help me in triming the values?</title>
      <link>https://community.qlik.com/t5/QlikView/help-me-in-triming-the-values/m-p/909269#M315744</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;Try this:&lt;/P&gt;&lt;P&gt;Load&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;Replace&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(Information,'SYST:','') as Information&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;HTH&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;Sushil&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 22 Jul 2015 07:58:41 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/help-me-in-triming-the-values/m-p/909269#M315744</guid>
      <dc:creator>sushil353</dc:creator>
      <dc:date>2015-07-22T07:58:41Z</dc:date>
    </item>
    <item>
      <title>Re: help me in triming the values?</title>
      <link>https://community.qlik.com/t5/QlikView/help-me-in-triming-the-values/m-p/909270#M315745</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;=Mid(&lt;SPAN style="color: #000000; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13.3333330154419px;"&gt;Information&lt;/SPAN&gt;,7,len(&lt;SPAN style="color: #000000; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13.3333330154419px;"&gt;Information&lt;/SPAN&gt;))&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 22 Jul 2015 07:58:58 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/help-me-in-triming-the-values/m-p/909270#M315745</guid>
      <dc:creator>pokassov</dc:creator>
      <dc:date>2015-07-22T07:58:58Z</dc:date>
    </item>
    <item>
      <title>Re: help me in triming the values?</title>
      <link>https://community.qlik.com/t5/QlikView/help-me-in-triming-the-values/m-p/909271#M315746</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;trim(subfield(YourField,':',2))&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 22 Jul 2015 08:06:55 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/help-me-in-triming-the-values/m-p/909271#M315746</guid>
      <dc:creator>sasiparupudi1</dc:creator>
      <dc:date>2015-07-22T08:06:55Z</dc:date>
    </item>
    <item>
      <title>Re: help me in triming the values?</title>
      <link>https://community.qlik.com/t5/QlikView/help-me-in-triming-the-values/m-p/909272#M315747</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for reply! why you used the 2 in function.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;pls explain.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 22 Jul 2015 08:14:51 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/help-me-in-triming-the-values/m-p/909272#M315747</guid>
      <dc:creator>durgabhavani</dc:creator>
      <dc:date>2015-07-22T08:14:51Z</dc:date>
    </item>
    <item>
      <title>Re: help me in triming the values?</title>
      <link>https://community.qlik.com/t5/QlikView/help-me-in-triming-the-values/m-p/909273#M315748</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;Try like this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=SubField('SYST: ACCOUNTS',':',-1)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-size: 13.3333330154419px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;Trim(SubField(FieldName,':',-1)) as FieldName&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-size: 13.3333330154419px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-size: 13.3333330154419px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;Here -1 represents the last value after the ':'&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-size: 13.3333330154419px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-size: 13.3333330154419px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;=SubField('SYST: ACCOUNTS',':',2)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-size: 13.3333330154419px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;Here 2 represents the second value after ":" delimiter&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-size: 13.3333330154419px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-size: 13.3333330154419px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;Ex:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-size: 13.3333330154419px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;SubField('SYST: ACCOUNTS: 3',':',2) gives ACCOUNTS&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-size: 13.3333330154419px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;SubField('SYST: ACCOUNTS: 3',':',-1) gives 3&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 22 Jul 2015 08:21:49 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/help-me-in-triming-the-values/m-p/909273#M315748</guid>
      <dc:creator>MayilVahanan</dc:creator>
      <dc:date>2015-07-22T08:21:49Z</dc:date>
    </item>
    <item>
      <title>Re: help me in triming the values?</title>
      <link>https://community.qlik.com/t5/QlikView/help-me-in-triming-the-values/m-p/909274#M315749</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;See the Help&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;subfield(s, 'delimiter' [ , index ] )&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;In its three-parameter version, this script function returns a given substring from a larger string s with delimiter 'delimiter'. index is an optional integer denoting which of the substrings should be returned. If index is omitted when subfield is used in a field expression in a load statement, the subfield function will cause the load statement to automatically generate one full record of input data for each substring that can be found in s.&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;In its two-parameter version, the subfield function generates one record for each substring that can be taken from a larger string s with the delimiter 'delimiter'. If several subfield functions are used in the same load statement, the Cartesian product of all combinations will be generated.&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;Examples:&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;(For three parameters)&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&lt;STRONG&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&lt;STRONG&gt;subfield(S, ';' ,2) returns 'cde' if S is 'abc;cde;efg'&lt;/STRONG&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;EM&gt;subfield(S, ';' ,1) returns NULL if S is an empty string&lt;/EM&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&lt;STRONG&gt;subfield(S, ';' ,1) returns an empty string if S is ';'&lt;/STRONG&gt;&lt;/EM&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 22 Jul 2015 08:21:53 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/help-me-in-triming-the-values/m-p/909274#M315749</guid>
      <dc:creator>qlikmsg4u</dc:creator>
      <dc:date>2015-07-22T08:21:53Z</dc:date>
    </item>
    <item>
      <title>Re: help me in triming the values?</title>
      <link>https://community.qlik.com/t5/QlikView/help-me-in-triming-the-values/m-p/909275#M315750</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Subfield can return parts of the string based on a given delimeter. In your case it is :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Piece 1 =SYST&lt;/P&gt;&lt;P&gt;delimeter= :&lt;/P&gt;&lt;P&gt;Piece 2 = &lt;SPAN style="color: #000000; font-size: 10pt;"&gt;ACCOUNTS&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-size: 10pt;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-size: 10pt;"&gt;So we are simply telling the subfield function that we need the piece 2 of the string&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-size: 10pt;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-size: 10pt;"&gt;HTH&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 22 Jul 2015 08:22:29 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/help-me-in-triming-the-values/m-p/909275#M315750</guid>
      <dc:creator>sasiparupudi1</dc:creator>
      <dc:date>2015-07-22T08:22:29Z</dc:date>
    </item>
    <item>
      <title>Re: help me in triming the values?</title>
      <link>https://community.qlik.com/t5/QlikView/help-me-in-triming-the-values/m-p/909276#M315751</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Durga,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Simply use the Replace() like below in script&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;TableName:&lt;/P&gt;&lt;P&gt;Load&lt;/P&gt;&lt;P&gt;Replace(Information,'SYST:','') as Information&lt;/P&gt;&lt;P&gt;From DataSource;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps you.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Jagan.&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 8pt; font-family: inherit;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 22 Jul 2015 09:39:33 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/help-me-in-triming-the-values/m-p/909276#M315751</guid>
      <dc:creator>jagan</dc:creator>
      <dc:date>2015-07-22T09:39:33Z</dc:date>
    </item>
    <item>
      <title>Re: help me in triming the values?</title>
      <link>https://community.qlik.com/t5/QlikView/help-me-in-triming-the-values/m-p/909277#M315752</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for everyone! &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 22 Jul 2015 10:11:48 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/help-me-in-triming-the-values/m-p/909277#M315752</guid>
      <dc:creator>durgabhavani</dc:creator>
      <dc:date>2015-07-22T10:11:48Z</dc:date>
    </item>
  </channel>
</rss>

