<?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: Dropping text from a string in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Dropping-text-from-a-string/m-p/1009668#M342688</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;SPAN style="color: #ff0000;"&gt;KeepChar&lt;/SPAN&gt;(&lt;/STRONG&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;&lt;STRONG&gt;SALES_NUMBER, '0123456789') as &lt;/STRONG&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;&lt;STRONG&gt;SALES_NUMBER&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;KeepChar()&lt;/STRONG&gt; is the function, misspelled it intially&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 14 Dec 2015 11:16:42 GMT</pubDate>
    <dc:creator>sunny_talwar</dc:creator>
    <dc:date>2015-12-14T11:16:42Z</dc:date>
    <item>
      <title>Dropping text from a string</title>
      <link>https://community.qlik.com/t5/QlikView/Dropping-text-from-a-string/m-p/1009667#M342687</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi ... I want to load the below field, 'SALES_NUMBER', but excluding the string 'AB' wherever it exists. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;222100&lt;/P&gt;&lt;P&gt;223190&lt;/P&gt;&lt;P&gt;AB224190&lt;/P&gt;&lt;P&gt;AB225190 &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So output should be :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;222100&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;223190&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;224190&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;225190 &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 14 Dec 2015 11:15:44 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Dropping-text-from-a-string/m-p/1009667#M342687</guid>
      <dc:creator />
      <dc:date>2015-12-14T11:15:44Z</dc:date>
    </item>
    <item>
      <title>Re: Dropping text from a string</title>
      <link>https://community.qlik.com/t5/QlikView/Dropping-text-from-a-string/m-p/1009668#M342688</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;SPAN style="color: #ff0000;"&gt;KeepChar&lt;/SPAN&gt;(&lt;/STRONG&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;&lt;STRONG&gt;SALES_NUMBER, '0123456789') as &lt;/STRONG&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;&lt;STRONG&gt;SALES_NUMBER&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;KeepChar()&lt;/STRONG&gt; is the function, misspelled it intially&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 14 Dec 2015 11:16:42 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Dropping-text-from-a-string/m-p/1009668#M342688</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2015-12-14T11:16:42Z</dc:date>
    </item>
    <item>
      <title>Re: Dropping text from a string</title>
      <link>https://community.qlik.com/t5/QlikView/Dropping-text-from-a-string/m-p/1009669#M342689</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;if you want only numbers try this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;keepchar(&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;SALES_NUMBER,'0123456789'&lt;/SPAN&gt;)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 14 Dec 2015 11:16:43 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Dropping-text-from-a-string/m-p/1009669#M342689</guid>
      <dc:creator>arulsettu</dc:creator>
      <dc:date>2015-12-14T11:16:43Z</dc:date>
    </item>
    <item>
      <title>Re: Dropping text from a string</title>
      <link>https://community.qlik.com/t5/QlikView/Dropping-text-from-a-string/m-p/1009670#M342690</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;use KeepChar() instead of KeepChart() as suggested by Sunny&lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 14 Dec 2015 11:18:43 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Dropping-text-from-a-string/m-p/1009670#M342690</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-12-14T11:18:43Z</dc:date>
    </item>
    <item>
      <title>Re: Dropping text from a string</title>
      <link>https://community.qlik.com/t5/QlikView/Dropping-text-from-a-string/m-p/1009671#M342691</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hahahaha I don't see KeepChart() &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/wink.png" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Just kidding, I saw my mistake and fixed it &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 14 Dec 2015 11:20:02 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Dropping-text-from-a-string/m-p/1009671#M342691</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2015-12-14T11:20:02Z</dc:date>
    </item>
    <item>
      <title>Re: Dropping text from a string</title>
      <link>https://community.qlik.com/t5/QlikView/Dropping-text-from-a-string/m-p/1009672#M342692</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;or try like this at script level, if it is in fixed format:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if(&lt;STRONG&gt;istext&lt;/STRONG&gt;(&lt;STRONG&gt;mid&lt;/STRONG&gt;(SalesField),1,2), &lt;STRONG&gt;mid&lt;/STRONG&gt;(&lt;SPAN style="font-size: 13.3333px;"&gt;SalesField,3,&lt;STRONG&gt;len&lt;/STRONG&gt;(&lt;SPAN style="font-size: 13.3333px;"&gt;SalesField)), &lt;SPAN style="font-size: 13.3333px;"&gt;SalesField) as &lt;SPAN style="font-size: 13.3333px;"&gt;SalesField&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 14 Dec 2015 11:23:22 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Dropping-text-from-a-string/m-p/1009672#M342692</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-12-14T11:23:22Z</dc:date>
    </item>
    <item>
      <title>Re: Dropping text from a string</title>
      <link>https://community.qlik.com/t5/QlikView/Dropping-text-from-a-string/m-p/1009673#M342693</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;OR&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;PurgeChar('AB224190','AB')&lt;/P&gt;&lt;P&gt;&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-family: 'comic sans ms', sans-serif;"&gt;Feeling Qlikngry?&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;A _jive_internal="true" data-containerid="2049" data-containertype="14" data-objectid="8342" data-objecttype="102" href="https://community.qlik.com/docs/DOC-8342" style="font-weight: inherit; font-style: inherit; font-family: inherit; color: #3778c7; text-decoration: underline;"&gt;How To /Missing Manual(23 articles)&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 14 Dec 2015 11:44:16 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Dropping-text-from-a-string/m-p/1009673#M342693</guid>
      <dc:creator>robert_mika</dc:creator>
      <dc:date>2015-12-14T11:44:16Z</dc:date>
    </item>
    <item>
      <title>Re: Dropping text from a string</title>
      <link>https://community.qlik.com/t5/QlikView/Dropping-text-from-a-string/m-p/1009674#M342694</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I was also kidding, Becoz I knew that before putting my comment for you, you would have been updated that&lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/laugh.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 14 Dec 2015 11:55:47 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Dropping-text-from-a-string/m-p/1009674#M342694</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-12-14T11:55:47Z</dc:date>
    </item>
    <item>
      <title>Re: Dropping text from a string</title>
      <link>https://community.qlik.com/t5/QlikView/Dropping-text-from-a-string/m-p/1009675#M342695</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try this way also&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LOAD *,&lt;STRONG&gt;&lt;EM&gt;PurgeChar(COLA,'ABCDEFGHIJKLMNOPQRSTUVWXYZ') AS KleenField&lt;/EM&gt;&lt;/STRONG&gt;;&lt;/P&gt;&lt;P&gt;LOAD * Inline&lt;/P&gt;&lt;P&gt;[&lt;/P&gt;&lt;P&gt;COLA&lt;/P&gt;&lt;P&gt;222100&lt;/P&gt;&lt;P&gt;223190&lt;/P&gt;&lt;P&gt;AB224190&lt;/P&gt;&lt;P&gt;AB225190 &lt;/P&gt;&lt;P&gt;];&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Capture3.PNG" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/108932_Capture3.PNG" style="height: auto;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Anand&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 14 Dec 2015 12:03:30 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Dropping-text-from-a-string/m-p/1009675#M342695</guid>
      <dc:creator>its_anandrjs</dc:creator>
      <dc:date>2015-12-14T12:03:30Z</dc:date>
    </item>
    <item>
      <title>Re: Dropping text from a string</title>
      <link>https://community.qlik.com/t5/QlikView/Dropping-text-from-a-string/m-p/1009676#M342696</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you all. I used the first solution ie the keepchar function and it worked nicely. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What if now however I only wanted to pick up values which included the AB string ? So my output would return only the following :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;AB224190&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;AB225190&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 14 Dec 2015 16:32:12 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Dropping-text-from-a-string/m-p/1009676#M342696</guid>
      <dc:creator />
      <dc:date>2015-12-14T16:32:12Z</dc:date>
    </item>
    <item>
      <title>Re: Dropping text from a string</title>
      <link>https://community.qlik.com/t5/QlikView/Dropping-text-from-a-string/m-p/1009677#M342697</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Use a Where Statement in that case:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;LOAD YourField&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;FROM Source&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Where Left(YourField, 2) = 'AB';&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 14 Dec 2015 16:35:12 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Dropping-text-from-a-string/m-p/1009677#M342697</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2015-12-14T16:35:12Z</dc:date>
    </item>
    <item>
      <title>Re: Dropping text from a string</title>
      <link>https://community.qlik.com/t5/QlikView/Dropping-text-from-a-string/m-p/1009678#M342698</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Sunny your answers are spot on as usual. .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Robert I will bear in mind the purgechar function for future ... thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 15 Dec 2015 11:34:58 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Dropping-text-from-a-string/m-p/1009678#M342698</guid>
      <dc:creator />
      <dc:date>2015-12-15T11:34:58Z</dc:date>
    </item>
    <item>
      <title>Re: Dropping text from a string</title>
      <link>https://community.qlik.com/t5/QlikView/Dropping-text-from-a-string/m-p/1009679#M342699</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt; I am glad I was helpful&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 15 Dec 2015 11:49:17 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Dropping-text-from-a-string/m-p/1009679#M342699</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2015-12-15T11:49:17Z</dc:date>
    </item>
  </channel>
</rss>

