<?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 Data Out of Inconsistent Character Lengths in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Trimming-Data-Out-of-Inconsistent-Character-Lengths/m-p/1055227#M642772</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I guess I didn't haha. This works perfectly. Thanks again!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 08 Jan 2016 17:14:32 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2016-01-08T17:14:32Z</dc:date>
    <item>
      <title>Trimming Data Out of Inconsistent Character Lengths</title>
      <link>https://community.qlik.com/t5/QlikView/Trimming-Data-Out-of-Inconsistent-Character-Lengths/m-p/1055223#M642768</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello All,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any ideas on how I can cut the numbers starting with '62*' out of these multi-character length strings? the field is "The Key" in the attached qvw. There is a lot of inconsistencies in these strings, and i was hoping there was another way other than trim() or len() to determine where to start cutting. The result should look like what's found in the field "The Answer" with just 6 digits. I used the Mid() Excel function to get "The Answer". Any help would be much appreciated.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks a lot!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 08 Jan 2016 16:49:13 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Trimming-Data-Out-of-Inconsistent-Character-Lengths/m-p/1055223#M642768</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-01-08T16:49:13Z</dc:date>
    </item>
    <item>
      <title>Re: Trimming Data Out of Inconsistent Character Lengths</title>
      <link>https://community.qlik.com/t5/QlikView/Trimming-Data-Out-of-Inconsistent-Character-Lengths/m-p/1055224#M642769</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Something like this? (code to add to your load script)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;Mid(SubField([The Key], '/', 3), 4) AS [The Answer],&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: arial, helvetica, sans-serif; font-size: 10pt;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; font-family: arial, helvetica, sans-serif;"&gt;Result:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: arial, helvetica, sans-serif; font-size: 10pt;"&gt;&lt;IMG alt="Cut Field from Key thread198924.jpg" class="jive-image image-1" height="210" src="/legacyfs/online/111083_Cut Field from Key thread198924.jpg" style="height: 209.881px; width: 474px;" width="474" /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: arial, helvetica, sans-serif; font-size: 10pt;"&gt;Best,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: arial, helvetica, sans-serif; font-size: 10pt;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;&lt;SPAN style="font-size: 10pt; font-family: arial, helvetica, sans-serif;"&gt;Peter&lt;/SPAN&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 08 Jan 2016 16:55:08 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Trimming-Data-Out-of-Inconsistent-Character-Lengths/m-p/1055224#M642769</guid>
      <dc:creator>Peter_Cammaert</dc:creator>
      <dc:date>2016-01-08T16:55:08Z</dc:date>
    </item>
    <item>
      <title>Re: Trimming Data Out of Inconsistent Character Lengths</title>
      <link>https://community.qlik.com/t5/QlikView/Trimming-Data-Out-of-Inconsistent-Character-Lengths/m-p/1055225#M642770</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Peter, &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This is super close. I just need the last character trimmed off of your result. I played with the parameters of your given functions and can't really get it to 6 digits in length (ie. 621103). However, i know i can do a resident load and use len(). If we can't get it done in one line, i'll still mark you correct. Thanks a ton and Happy New Year.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 08 Jan 2016 17:04:51 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Trimming-Data-Out-of-Inconsistent-Character-Lengths/m-p/1055225#M642770</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-01-08T17:04:51Z</dc:date>
    </item>
    <item>
      <title>Re: Trimming Data Out of Inconsistent Character Lengths</title>
      <link>https://community.qlik.com/t5/QlikView/Trimming-Data-Out-of-Inconsistent-Character-Lengths/m-p/1055226#M642771</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I guess you didn't try hard enough &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Just add a third parameter &lt;SPAN style="font-size: 13.3333px;"&gt;6 &lt;/SPAN&gt;to the Mid() call. Like:&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: 'courier new', courier;"&gt;:&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;SPAN style="font-weight: inherit; font-style: inherit; font-family: 'courier new', courier;"&gt;Mid(SubField([The Key], '/', 3), 4, 6) AS [The Answer],&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;SPAN style="font-weight: inherit; font-style: inherit; font-family: 'courier new', courier;"&gt;:&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;SPAN style="font-weight: inherit; font-style: inherit; font-family: 'courier new', courier;"&gt; &lt;SPAN style="font-size: 10pt; font-family: arial, helvetica, sans-serif;"&gt;&amp;nbsp; &lt;/SPAN&gt;&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;SPAN style="font-style: inherit; font-size: 10pt; font-family: arial, helvetica, sans-serif; font-weight: inherit;"&gt;You can use the same expression in an UI object as well. If you need this value as a key value, use the script version.&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;SPAN style="font-style: inherit; font-size: 10pt; font-family: arial, helvetica, sans-serif; font-weight: inherit;"&gt;&lt;BR /&gt;&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;SPAN style="font-style: inherit; font-size: 10pt; font-family: arial, helvetica, sans-serif; font-weight: inherit;"&gt;If you want me to upload a corrected copy of your document, just let me know.&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;SPAN style="font-style: inherit; font-size: 10pt; font-family: arial, helvetica, sans-serif; font-weight: inherit;"&gt;&lt;BR /&gt;&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;SPAN style="font-style: inherit; font-size: 10pt; font-family: arial, helvetica, sans-serif; font-weight: inherit;"&gt;Have a happy and healthy 2016!&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;SPAN style="font-style: inherit; font-size: 10pt; font-family: arial, helvetica, sans-serif; font-weight: inherit;"&gt;&lt;BR /&gt;&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;SPAN style="font-weight: inherit; font-style: inherit; font-family: 'courier new', courier;"&gt;&lt;SPAN style="font-size: 10pt; font-family: arial, helvetica, sans-serif;"&gt;Peter &lt;/SPAN&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 08 Jan 2016 17:11:06 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Trimming-Data-Out-of-Inconsistent-Character-Lengths/m-p/1055226#M642771</guid>
      <dc:creator>Peter_Cammaert</dc:creator>
      <dc:date>2016-01-08T17:11:06Z</dc:date>
    </item>
    <item>
      <title>Re: Trimming Data Out of Inconsistent Character Lengths</title>
      <link>https://community.qlik.com/t5/QlikView/Trimming-Data-Out-of-Inconsistent-Character-Lengths/m-p/1055227#M642772</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I guess I didn't haha. This works perfectly. Thanks again!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 08 Jan 2016 17:14:32 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Trimming-Data-Out-of-Inconsistent-Character-Lengths/m-p/1055227#M642772</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-01-08T17:14:32Z</dc:date>
    </item>
  </channel>
</rss>

