<?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: SUBSTR(TRIM in Qlikview in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/SUBSTR-TRIM-in-Qlikview/m-p/800261#M282475</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Not sure what you mean but with TRIM you strip off all the spaces from the string that are in the beginning and end of your string&amp;nbsp; so:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;trim([Order Number]) as Your_Field, you can eventually enhance it with other string commands (see help for list of commands)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;cheers&lt;/P&gt;&lt;P&gt;F&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 30 Dec 2014 09:13:58 GMT</pubDate>
    <dc:creator />
    <dc:date>2014-12-30T09:13:58Z</dc:date>
    <item>
      <title>SUBSTR(TRIM in Qlikview</title>
      <link>https://community.qlik.com/t5/QlikView/SUBSTR-TRIM-in-Qlikview/m-p/800259#M282473</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="font-size: 18pt;"&gt;Hi,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 18pt;"&gt;I have to trim the field in qlikview .I'm getting the result using&amp;nbsp; the below expression in DB.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 18pt;"&gt;&lt;STRONG&gt;SUBSTR(TRIM("Order Number"), CHAR_LENGTH(TRIM("Order Number")) - 9 + 1, 9) AS LOT_NUM&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 18pt;"&gt;I tried using MID/LEFT/RIGHT. Seems like i'm missing out something.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 18pt;"&gt;Please suggest.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 18pt;"&gt;Thanks&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 30 Dec 2014 09:09:19 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/SUBSTR-TRIM-in-Qlikview/m-p/800259#M282473</guid>
      <dc:creator />
      <dc:date>2014-12-30T09:09:19Z</dc:date>
    </item>
    <item>
      <title>Re: SUBSTR(TRIM in Qlikview</title>
      <link>https://community.qlik.com/t5/QlikView/SUBSTR-TRIM-in-Qlikview/m-p/800260#M282474</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Please try this out.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Mid(TRIM("Order Number"), len(ltrim(rtrim("Order Number"))) - 9 + 1, 9) AS LOT_NUM&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks,&lt;/P&gt;&lt;P&gt;Rajesh Vaswani&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 30 Dec 2014 09:12:54 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/SUBSTR-TRIM-in-Qlikview/m-p/800260#M282474</guid>
      <dc:creator>rajeshvaswani77</dc:creator>
      <dc:date>2014-12-30T09:12:54Z</dc:date>
    </item>
    <item>
      <title>Re: SUBSTR(TRIM in Qlikview</title>
      <link>https://community.qlik.com/t5/QlikView/SUBSTR-TRIM-in-Qlikview/m-p/800261#M282475</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Not sure what you mean but with TRIM you strip off all the spaces from the string that are in the beginning and end of your string&amp;nbsp; so:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;trim([Order Number]) as Your_Field, you can eventually enhance it with other string commands (see help for list of commands)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;cheers&lt;/P&gt;&lt;P&gt;F&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 30 Dec 2014 09:13:58 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/SUBSTR-TRIM-in-Qlikview/m-p/800261#M282475</guid>
      <dc:creator />
      <dc:date>2014-12-30T09:13:58Z</dc:date>
    </item>
    <item>
      <title>Re: SUBSTR(TRIM in Qlikview</title>
      <link>https://community.qlik.com/t5/QlikView/SUBSTR-TRIM-in-Qlikview/m-p/800262#M282476</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Right(Trim(&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;"Order Number"),9)&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 30 Dec 2014 09:19:37 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/SUBSTR-TRIM-in-Qlikview/m-p/800262#M282476</guid>
      <dc:creator>anbu1984</dc:creator>
      <dc:date>2014-12-30T09:19:37Z</dc:date>
    </item>
  </channel>
</rss>

