<?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: delete right part from string and keep left in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/delete-right-part-from-string-and-keep-left/m-p/587382#M217876</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;Try this &lt;STRONG&gt;replace('100023Feb2013',Right('100023Feb2013',7),'')&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 30 Jan 2014 10:33:33 GMT</pubDate>
    <dc:creator>jvishnuram</dc:creator>
    <dc:date>2014-01-30T10:33:33Z</dc:date>
    <item>
      <title>delete right part from string and keep left</title>
      <link>https://community.qlik.com/t5/QlikView/delete-right-part-from-string-and-keep-left/m-p/587379#M217873</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I would like to keep te left part of a string value, but the length of the left part is variable. see example:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;100023Feb2013&lt;/P&gt;&lt;P&gt;10034Jun2013&lt;/P&gt;&lt;P&gt;2300Jan2012&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;so i would like to delete the right 7 characters of the string and keep whatever is left. Being:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;100023&lt;/P&gt;&lt;P&gt;10034&lt;/P&gt;&lt;P&gt;2300&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;your help would be much appreciated.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards Peter&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 30 Jan 2014 10:26:36 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/delete-right-part-from-string-and-keep-left/m-p/587379#M217873</guid>
      <dc:creator>pepe2209</dc:creator>
      <dc:date>2014-01-30T10:26:36Z</dc:date>
    </item>
    <item>
      <title>Re: delete right part from string and keep left</title>
      <link>https://community.qlik.com/t5/QlikView/delete-right-part-from-string-and-keep-left/m-p/587380#M217874</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;How about this (I'm assuming you want to apply this in your load script)?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; ... left(SourceField, index(SourceField, right(SourceField, 7))) AS LeftPart ...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Peter&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 30 Jan 2014 10:31:21 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/delete-right-part-from-string-and-keep-left/m-p/587380#M217874</guid>
      <dc:creator>Peter_Cammaert</dc:creator>
      <dc:date>2014-01-30T10:31:21Z</dc:date>
    </item>
    <item>
      <title>Re: delete right part from string and keep left</title>
      <link>https://community.qlik.com/t5/QlikView/delete-right-part-from-string-and-keep-left/m-p/587381#M217875</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;STRONG&gt;Peter&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Would something like this help ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; = left ( '100023Feb2013' , len( '100023Feb2013' ) -7 )&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best Regards,&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;STRONG&gt;Bill&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 30 Jan 2014 10:32:21 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/delete-right-part-from-string-and-keep-left/m-p/587381#M217875</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2014-01-30T10:32:21Z</dc:date>
    </item>
    <item>
      <title>Re: delete right part from string and keep left</title>
      <link>https://community.qlik.com/t5/QlikView/delete-right-part-from-string-and-keep-left/m-p/587382#M217876</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;Try this &lt;STRONG&gt;replace('100023Feb2013',Right('100023Feb2013',7),'')&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 30 Jan 2014 10:33:33 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/delete-right-part-from-string-and-keep-left/m-p/587382#M217876</guid>
      <dc:creator>jvishnuram</dc:creator>
      <dc:date>2014-01-30T10:33:33Z</dc:date>
    </item>
    <item>
      <title>Re: delete right part from string and keep left</title>
      <link>https://community.qlik.com/t5/QlikView/delete-right-part-from-string-and-keep-left/m-p/587383#M217877</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;A way to do it:&lt;/P&gt;&lt;P&gt;Left(StringField,Len(StringField)-7)&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 30 Jan 2014 10:34:02 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/delete-right-part-from-string-and-keep-left/m-p/587383#M217877</guid>
      <dc:creator />
      <dc:date>2014-01-30T10:34:02Z</dc:date>
    </item>
    <item>
      <title>Re: delete right part from string and keep left</title>
      <link>https://community.qlik.com/t5/QlikView/delete-right-part-from-string-and-keep-left/m-p/587384#M217878</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;mid&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;('10034Jun2013', 1, &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;len&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;('10034Jun2013')-7) &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 30 Jan 2014 10:35:15 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/delete-right-part-from-string-and-keep-left/m-p/587384#M217878</guid>
      <dc:creator>alexandros17</dc:creator>
      <dc:date>2014-01-30T10:35:15Z</dc:date>
    </item>
    <item>
      <title>Re: delete right part from string and keep left</title>
      <link>https://community.qlik.com/t5/QlikView/delete-right-part-from-string-and-keep-left/m-p/587385#M217879</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for the quick response everybody.&lt;/P&gt;&lt;P&gt;i've used Peter Cammaert's solution&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks again&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 30 Jan 2014 10:42:45 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/delete-right-part-from-string-and-keep-left/m-p/587385#M217879</guid>
      <dc:creator>pepe2209</dc:creator>
      <dc:date>2014-01-30T10:42:45Z</dc:date>
    </item>
  </channel>
</rss>

