<?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: Remove 1st character and then read only next 7 characters in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Remove-1st-character-and-then-read-only-next-7-characters/m-p/75828#M12521</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If you have situations like sometimes first character is number and sometimes '[' then this might also work - &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;Replace(Mid(ResourceID,1,8),'[','') as ResourceID&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sat, 24 Feb 2018 18:21:32 GMT</pubDate>
    <dc:creator>Digvijay_Singh</dc:creator>
    <dc:date>2018-02-24T18:21:32Z</dc:date>
    <item>
      <title>Remove 1st character and then read only next 7 characters</title>
      <link>https://community.qlik.com/t5/QlikView/Remove-1st-character-and-then-read-only-next-7-characters/m-p/75824#M12517</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 have a field where the data is very inconsistent. I want to remove the 1st character and ready the next 7 characters from there and call the blanks N/A. For example&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Resource ID&lt;/P&gt;&lt;P&gt;[1234567 14]haslkdjasl&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I want to pull only 1234567 from the resource ID field and parse out [ ] and remaining text. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 22 Feb 2018 23:31:36 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Remove-1st-character-and-then-read-only-next-7-characters/m-p/75824#M12517</guid>
      <dc:creator>kailashkotak91</dc:creator>
      <dc:date>2018-02-22T23:31:36Z</dc:date>
    </item>
    <item>
      <title>Re: Remove 1st character and then read only next 7 characters</title>
      <link>https://community.qlik.com/t5/QlikView/Remove-1st-character-and-then-read-only-next-7-characters/m-p/75825#M12518</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;May be this - &lt;/P&gt;&lt;P&gt;Mid(ResourceID,2,8) as ResourceID&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 23 Feb 2018 03:29:58 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Remove-1st-character-and-then-read-only-next-7-characters/m-p/75825#M12518</guid>
      <dc:creator>Digvijay_Singh</dc:creator>
      <dc:date>2018-02-23T03:29:58Z</dc:date>
    </item>
    <item>
      <title>Re: Remove 1st character and then read only next 7 characters</title>
      <link>https://community.qlik.com/t5/QlikView/Remove-1st-character-and-then-read-only-next-7-characters/m-p/75826#M12519</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for your reply! Appreciate it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Just wanted to confirm, the data quality is really bad, i have few entries that directly does not have '[' in the beginning.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can it be something like if(resource ID starts with [ then Mid(ResourceID,2,8) as ResourceID else if(resource ID starts with a number then some condition...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can you help with this ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Kailash Kotak&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 23 Feb 2018 19:43:49 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Remove-1st-character-and-then-read-only-next-7-characters/m-p/75826#M12519</guid>
      <dc:creator>kailashkotak91</dc:creator>
      <dc:date>2018-02-23T19:43:49Z</dc:date>
    </item>
    <item>
      <title>Re: Remove 1st character and then read only next 7 characters</title>
      <link>https://community.qlik.com/t5/QlikView/Remove-1st-character-and-then-read-only-next-7-characters/m-p/75827#M12520</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Something like this may be - &lt;/P&gt;&lt;P&gt;if(left(ResourceID,1)='[',&lt;SPAN style="color: #000000; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;Mid(ResourceID,2,8),&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; if(Match(Left(ResourceID,1),0,1,2,3,4,5,6,7,8,9),&amp;lt;Write here other expression like Mid&amp;gt;))&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 24 Feb 2018 18:18:58 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Remove-1st-character-and-then-read-only-next-7-characters/m-p/75827#M12520</guid>
      <dc:creator>Digvijay_Singh</dc:creator>
      <dc:date>2018-02-24T18:18:58Z</dc:date>
    </item>
    <item>
      <title>Re: Remove 1st character and then read only next 7 characters</title>
      <link>https://community.qlik.com/t5/QlikView/Remove-1st-character-and-then-read-only-next-7-characters/m-p/75828#M12521</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If you have situations like sometimes first character is number and sometimes '[' then this might also work - &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;Replace(Mid(ResourceID,1,8),'[','') as ResourceID&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 24 Feb 2018 18:21:32 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Remove-1st-character-and-then-read-only-next-7-characters/m-p/75828#M12521</guid>
      <dc:creator>Digvijay_Singh</dc:creator>
      <dc:date>2018-02-24T18:21:32Z</dc:date>
    </item>
  </channel>
</rss>

