<?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 Locate first uppercase character in a string in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Locate-first-uppercase-character-in-a-string/m-p/760930#M666246</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a field with upper and lowercase characters. I need to identify the first instance of an uppercase character in the string so that I can extract the next three characters. Is this possible? The problem I have is that the position of the first uppercase character in the string keeps on changing so I can't use LEFT/RIGHT functions. I am also unable to use the SUBFIELD function with this particular string as the data before the first uppercase character isn't consistent. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Example&lt;/STRONG&gt;: 123abd&lt;STRONG&gt;JJJ&lt;/STRONG&gt;ghk (need to extract JJJ in this string)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 02 Dec 2014 16:58:30 GMT</pubDate>
    <dc:creator />
    <dc:date>2014-12-02T16:58:30Z</dc:date>
    <item>
      <title>Locate first uppercase character in a string</title>
      <link>https://community.qlik.com/t5/QlikView/Locate-first-uppercase-character-in-a-string/m-p/760930#M666246</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a field with upper and lowercase characters. I need to identify the first instance of an uppercase character in the string so that I can extract the next three characters. Is this possible? The problem I have is that the position of the first uppercase character in the string keeps on changing so I can't use LEFT/RIGHT functions. I am also unable to use the SUBFIELD function with this particular string as the data before the first uppercase character isn't consistent. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Example&lt;/STRONG&gt;: 123abd&lt;STRONG&gt;JJJ&lt;/STRONG&gt;ghk (need to extract JJJ in this string)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 02 Dec 2014 16:58:30 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Locate-first-uppercase-character-in-a-string/m-p/760930#M666246</guid>
      <dc:creator />
      <dc:date>2014-12-02T16:58:30Z</dc:date>
    </item>
    <item>
      <title>Re: Locate first uppercase character in a string</title>
      <link>https://community.qlik.com/t5/QlikView/Locate-first-uppercase-character-in-a-string/m-p/760931#M666247</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You can try something like this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;mid(TEXT,index(TEXT,left(Keepchar(TEXT,'ABCDEFGHIJKLMNOPQRSTUVWXYZ'),1)),3)&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;First it removes all other characters. Then it takes the first character and finds the first occurance of it in the original text. It then reads 3 characters.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;SKG&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 02 Dec 2014 17:03:51 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Locate-first-uppercase-character-in-a-string/m-p/760931#M666247</guid>
      <dc:creator>simenkg</dc:creator>
      <dc:date>2014-12-02T17:03:51Z</dc:date>
    </item>
    <item>
      <title>Re: Locate first uppercase character in a string</title>
      <link>https://community.qlik.com/t5/QlikView/Locate-first-uppercase-character-in-a-string/m-p/760932#M666248</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Nicely done, Simen! That solution worked a treat.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 02 Dec 2014 18:29:25 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Locate-first-uppercase-character-in-a-string/m-p/760932#M666248</guid>
      <dc:creator />
      <dc:date>2014-12-02T18:29:25Z</dc:date>
    </item>
  </channel>
</rss>

