<?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: how to Extract just repeated capital letters from string. in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/how-to-Extract-just-repeated-capital-letters-from-string/m-p/2133520#M1224769</link>
    <description>&lt;P&gt;maybe helpful:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="MarcoWedel_1-1698786784003.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/119154iC8440DE7BFC61297/image-size/medium?v=v2&amp;amp;px=400" role="button" title="MarcoWedel_1-1698786784003.png" alt="MarcoWedel_1-1698786784003.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;mapExtCapLett:
Mapping LOAD Chr(RecNo()), '_'
AutoGenerate 65535
Where not Index('ABCDEFGHIJKLMNOPQRSTUVWXYZ',Chr(RecNo()));


table1:
LOAD * Where Len(dept)&amp;gt;1;
LOAD *, SubField(MapSubString('mapExtCapLett',SomeText),'_') as dept
Inline [
SomeText
***97ChennaiA2873/CA1220
***97ChennaiAA2874/CA1220
***97ChennaiAAA2875/CA1220
***97ChennaiAAAA2876/CA1220
***97ChennaiB2877/CA1220
***97ChennaiBB2878/CA1220
***97ChennaiBBB2879/CA1220
***97ChennaiBBBB2880/CA1220
***97ChennaiA2881/CA1220
***97ChennaiAB2882/CA1220
***97ChennaiABC2883/CA1220
***97ChennaiABCD2884/CA1220
];&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Tue, 31 Oct 2023 21:13:28 GMT</pubDate>
    <dc:creator>MarcoWedel</dc:creator>
    <dc:date>2023-10-31T21:13:28Z</dc:date>
    <item>
      <title>how to Extract just repeated capital letters from string.</title>
      <link>https://community.qlik.com/t5/QlikView/how-to-Extract-just-repeated-capital-letters-from-string/m-p/2127299#M1224669</link>
      <description>&lt;P&gt;Hi community,&lt;/P&gt;
&lt;P&gt;If&amp;nbsp; I have the info let's say&amp;nbsp; ***97ChennaiAAA2875/CA1220.&lt;/P&gt;
&lt;P&gt;and if AAA is dept name in this. How can I just extract the dept name from above string.&lt;/P&gt;
&lt;P&gt;Kindly resolve the above problem.&lt;/P&gt;
&lt;P&gt;Thank you in advance,&lt;/P&gt;
&lt;P&gt;Abhishekb&lt;/P&gt;</description>
      <pubDate>Wed, 11 Oct 2023 05:15:00 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/how-to-Extract-just-repeated-capital-letters-from-string/m-p/2127299#M1224669</guid>
      <dc:creator>Abhishekb</dc:creator>
      <dc:date>2023-10-11T05:15:00Z</dc:date>
    </item>
    <item>
      <title>Re: how to Extract just repeated capital letters from string.</title>
      <link>https://community.qlik.com/t5/QlikView/how-to-Extract-just-repeated-capital-letters-from-string/m-p/2133520#M1224769</link>
      <description>&lt;P&gt;maybe helpful:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="MarcoWedel_1-1698786784003.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/119154iC8440DE7BFC61297/image-size/medium?v=v2&amp;amp;px=400" role="button" title="MarcoWedel_1-1698786784003.png" alt="MarcoWedel_1-1698786784003.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;mapExtCapLett:
Mapping LOAD Chr(RecNo()), '_'
AutoGenerate 65535
Where not Index('ABCDEFGHIJKLMNOPQRSTUVWXYZ',Chr(RecNo()));


table1:
LOAD * Where Len(dept)&amp;gt;1;
LOAD *, SubField(MapSubString('mapExtCapLett',SomeText),'_') as dept
Inline [
SomeText
***97ChennaiA2873/CA1220
***97ChennaiAA2874/CA1220
***97ChennaiAAA2875/CA1220
***97ChennaiAAAA2876/CA1220
***97ChennaiB2877/CA1220
***97ChennaiBB2878/CA1220
***97ChennaiBBB2879/CA1220
***97ChennaiBBBB2880/CA1220
***97ChennaiA2881/CA1220
***97ChennaiAB2882/CA1220
***97ChennaiABC2883/CA1220
***97ChennaiABCD2884/CA1220
];&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 31 Oct 2023 21:13:28 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/how-to-Extract-just-repeated-capital-letters-from-string/m-p/2133520#M1224769</guid>
      <dc:creator>MarcoWedel</dc:creator>
      <dc:date>2023-10-31T21:13:28Z</dc:date>
    </item>
    <item>
      <title>Re: how to Extract just repeated capital letters from string.</title>
      <link>https://community.qlik.com/t5/QlikView/how-to-Extract-just-repeated-capital-letters-from-string/m-p/2134314#M1224774</link>
      <description>&lt;P&gt;Hi &lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/675"&gt;@MarcoWedel&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;Thanks for answering the problem but this is not the type of solution I needed.&lt;/P&gt;
&lt;P&gt;In&amp;nbsp;&lt;SPAN&gt;&amp;nbsp;***97ChennaiAAA2875/CA1220. I need only AAA as output. I don't need all capital letters.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 03 Nov 2023 04:57:09 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/how-to-Extract-just-repeated-capital-letters-from-string/m-p/2134314#M1224774</guid>
      <dc:creator>Abhishekb</dc:creator>
      <dc:date>2023-11-03T04:57:09Z</dc:date>
    </item>
    <item>
      <title>Re: how to Extract just repeated capital letters from string.</title>
      <link>https://community.qlik.com/t5/QlikView/how-to-Extract-just-repeated-capital-letters-from-string/m-p/2134349#M1224776</link>
      <description>&lt;P&gt;The suggestion from Marco will work. If you don't want to consider the entire string then just take the appropriate string-part, maybe by separating the part before and after the / with another subfield() in beforehand.&lt;/P&gt;
&lt;P&gt;Further thoughts for extending the shown example might be to add a recno() and rowno() to the load as well as replacing the two-parameter subfield() loop with a three-parameter subfield() and controlling the loop per iterno() and while-statement. With it each record and string-part could be tracked - to be counted, filtered and/or aggregated - whatever is needed ...&lt;/P&gt;</description>
      <pubDate>Fri, 03 Nov 2023 07:32:40 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/how-to-Extract-just-repeated-capital-letters-from-string/m-p/2134349#M1224776</guid>
      <dc:creator>marcus_sommer</dc:creator>
      <dc:date>2023-11-03T07:32:40Z</dc:date>
    </item>
  </channel>
</rss>

