<?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: trimming the field values in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/trimming-the-field-values/m-p/1535789#M598525</link>
    <description>&lt;P&gt;Hi,&lt;BR /&gt;How about below expression?&lt;BR /&gt;&lt;BR /&gt;1. mid(Product ID,4)&lt;BR /&gt;2. keepchar(Product ID,'1234567890-')&lt;BR /&gt;3. mid(Product ID,index(Product ID,'1234567890'))&lt;BR /&gt;4. IF(Left(Product ID,3)='HAI',Product ID,mid(Product ID,4))&lt;/P&gt;</description>
    <pubDate>Mon, 28 Jan 2019 10:24:44 GMT</pubDate>
    <dc:creator>ryo_okabe</dc:creator>
    <dc:date>2019-01-28T10:24:44Z</dc:date>
    <item>
      <title>trimming the field values</title>
      <link>https://community.qlik.com/t5/QlikView/trimming-the-field-values/m-p/1535708#M598524</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I need to extract a detail from the below field value.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Actual:&lt;/P&gt;&lt;P&gt;Product ID:&lt;/P&gt;&lt;P&gt;HAI000200020876-11300&lt;BR /&gt;HAI000200020332-11300&lt;BR /&gt;HAI000200020000-11300&lt;/P&gt;&lt;P&gt;AND000200256543-11304&lt;BR /&gt;AND000200256525-11304&lt;BR /&gt;AND000200256523-11304&lt;BR /&gt;CLE136198-11300&lt;BR /&gt;CLE133712-11300&lt;BR /&gt;CLE133660-11300&lt;BR /&gt;CLE133523-11300&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Required output:&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Product ID:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;HAI000200020876-11300&lt;BR /&gt;HAI000200020332-11300&lt;BR /&gt;HAI000200020000-11300&lt;/P&gt;&lt;P&gt;200256543-11304&lt;BR /&gt;200256525-11304&lt;BR /&gt;200256523-11304&lt;BR /&gt;136198-11300&lt;BR /&gt;133660-11300&lt;BR /&gt;133523-11300&lt;/P&gt;&lt;P&gt;Thanks..&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 16 Nov 2024 04:38:48 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/trimming-the-field-values/m-p/1535708#M598524</guid>
      <dc:creator>nareshthavidishetty</dc:creator>
      <dc:date>2024-11-16T04:38:48Z</dc:date>
    </item>
    <item>
      <title>trimming the field values</title>
      <link>https://community.qlik.com/t5/QlikView/trimming-the-field-values/m-p/1535707#M598528</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I need to extract a detail from the below field value.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Actual:&lt;/P&gt;&lt;P&gt;Product ID:&lt;/P&gt;&lt;P&gt;HAI000200020876-11300&lt;BR /&gt;HAI000200020332-11300&lt;BR /&gt;HAI000200020000-11300&lt;/P&gt;&lt;P&gt;AND000200256543-11304&lt;BR /&gt;AND000200256525-11304&lt;BR /&gt;AND000200256523-11304&lt;BR /&gt;CLE136198-11300&lt;BR /&gt;CLE133712-11300&lt;BR /&gt;CLE133660-11300&lt;BR /&gt;CLE133523-11300&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Required out put:&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Product ID:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;HAI000200020876-11300&lt;BR /&gt;HAI000200020332-11300&lt;BR /&gt;HAI000200020000-11300&lt;/P&gt;&lt;P&gt;200256543-11304&lt;BR /&gt;200256525-11304&lt;BR /&gt;200256523-11304&lt;BR /&gt;136198-11300&lt;BR /&gt;133660-11300&lt;BR /&gt;133523-11300&lt;/P&gt;&lt;P&gt;Thanks..&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 28 Jan 2019 09:02:11 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/trimming-the-field-values/m-p/1535707#M598528</guid>
      <dc:creator>nareshthavidishetty</dc:creator>
      <dc:date>2019-01-28T09:02:11Z</dc:date>
    </item>
    <item>
      <title>Re: trimming the field values</title>
      <link>https://community.qlik.com/t5/QlikView/trimming-the-field-values/m-p/1535789#M598525</link>
      <description>&lt;P&gt;Hi,&lt;BR /&gt;How about below expression?&lt;BR /&gt;&lt;BR /&gt;1. mid(Product ID,4)&lt;BR /&gt;2. keepchar(Product ID,'1234567890-')&lt;BR /&gt;3. mid(Product ID,index(Product ID,'1234567890'))&lt;BR /&gt;4. IF(Left(Product ID,3)='HAI',Product ID,mid(Product ID,4))&lt;/P&gt;</description>
      <pubDate>Mon, 28 Jan 2019 10:24:44 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/trimming-the-field-values/m-p/1535789#M598525</guid>
      <dc:creator>ryo_okabe</dc:creator>
      <dc:date>2019-01-28T10:24:44Z</dc:date>
    </item>
    <item>
      <title>Re: trimming the field values</title>
      <link>https://community.qlik.com/t5/QlikView/trimming-the-field-values/m-p/1535902#M598526</link>
      <description>&lt;P&gt;The first 3 Product ID stayed the same, but others changed. Is there a logic behind what you are trying to do?&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="image.png" style="width: 324px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/4617i3E00BE85A7AB6DD0/image-size/large?v=v2&amp;amp;px=999" role="button" title="image.png" alt="image.png" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 28 Jan 2019 12:45:36 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/trimming-the-field-values/m-p/1535902#M598526</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2019-01-28T12:45:36Z</dc:date>
    </item>
    <item>
      <title>Re: trimming the field values</title>
      <link>https://community.qlik.com/t5/QlikView/trimming-the-field-values/m-p/1535904#M598529</link>
      <description>&lt;P&gt;Look at my response&amp;nbsp;&lt;A href="https://community.qlik.com/t5/New-to-Qlik-Community/trimming-the-field-values/m-p/1535708/highlight/false#M8466" target="_blank"&gt;here&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 28 Jan 2019 12:46:14 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/trimming-the-field-values/m-p/1535904#M598529</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2019-01-28T12:46:14Z</dc:date>
    </item>
    <item>
      <title>Re: trimming the field values</title>
      <link>https://community.qlik.com/t5/QlikView/trimming-the-field-values/m-p/1535958#M598527</link>
      <description>&lt;P&gt;Hi, Can you tell me what Qlik product you are discussing, I would like to move this to the forum specific to it as this is a general discussion forum. Thanks&lt;/P&gt;</description>
      <pubDate>Mon, 28 Jan 2019 13:49:12 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/trimming-the-field-values/m-p/1535958#M598527</guid>
      <dc:creator>Sue_Macaluso</dc:creator>
      <dc:date>2019-01-28T13:49:12Z</dc:date>
    </item>
    <item>
      <title>Re: trimming the field values</title>
      <link>https://community.qlik.com/t5/QlikView/trimming-the-field-values/m-p/1551097#M598530</link>
      <description>&lt;P&gt;Hi Naresh,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;As i Know Trim will drop the spaces between words (Left Trim,Right Trim,Trim..etc..)&lt;/P&gt;&lt;P&gt;but here your requirement will different than Trim&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;CLE136198-11300&amp;nbsp; o/p you are expecting like&amp;nbsp;136198-11300&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;so you need to be use purgechar().&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;so you need to use Purgechar(FieldName,'AND000200256543-11304')-- as [Test field] it will omit data from your field&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;now you need to do like&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;purgechar([Test field],'CLE') it will remove the characters&amp;nbsp;from your field.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Ex:-&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;keepchar(&lt;SPAN&gt;Amit1234,'ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz') //&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;it will give result&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;Amit&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;STRONG&gt;purgechar&lt;/STRONG&gt;(&lt;/SPAN&gt;&lt;SPAN&gt;Amit1234,'ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz')&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;it will give result&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;1234&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 01 Mar 2019 13:18:11 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/trimming-the-field-values/m-p/1551097#M598530</guid>
      <dc:creator>ramasaisaksoft</dc:creator>
      <dc:date>2019-03-01T13:18:11Z</dc:date>
    </item>
  </channel>
</rss>

