<?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 Identify Capital Letters in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Identify-Capital-Letters/m-p/304953#M707586</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Everyone,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have surch on the community and with the QlikView Help but I didn't find my answer, maybe you would help me.&lt;/P&gt;&lt;P&gt;I have a filed with full names, so I'm trying to isolate each one of theim.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I already tried two solutions that work for most names:&lt;/P&gt;&lt;P&gt;subfield(Full_Name, ' ',1) for last names or right(Full_Name, len(Full_Name)- FindOneOf(Full_Name, ' ')) for first ones.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But when an "aristocratice name" comes up...&lt;/P&gt;&lt;P&gt;For example:&lt;/P&gt;&lt;P&gt;MISTER Someone =&amp;gt; Last Name: MISTER and First Name: Someone&lt;/P&gt;&lt;P&gt;THE MISTER Someone =&amp;gt; Last Name: THE and First Name: MISTER Someone.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So I'm trying to identify capital letters so I can split First and Last names.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any idea?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 21 Feb 2012 16:56:43 GMT</pubDate>
    <dc:creator />
    <dc:date>2012-02-21T16:56:43Z</dc:date>
    <item>
      <title>Identify Capital Letters</title>
      <link>https://community.qlik.com/t5/QlikView/Identify-Capital-Letters/m-p/304953#M707586</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Everyone,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have surch on the community and with the QlikView Help but I didn't find my answer, maybe you would help me.&lt;/P&gt;&lt;P&gt;I have a filed with full names, so I'm trying to isolate each one of theim.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I already tried two solutions that work for most names:&lt;/P&gt;&lt;P&gt;subfield(Full_Name, ' ',1) for last names or right(Full_Name, len(Full_Name)- FindOneOf(Full_Name, ' ')) for first ones.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But when an "aristocratice name" comes up...&lt;/P&gt;&lt;P&gt;For example:&lt;/P&gt;&lt;P&gt;MISTER Someone =&amp;gt; Last Name: MISTER and First Name: Someone&lt;/P&gt;&lt;P&gt;THE MISTER Someone =&amp;gt; Last Name: THE and First Name: MISTER Someone.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So I'm trying to identify capital letters so I can split First and Last names.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any idea?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 21 Feb 2012 16:56:43 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Identify-Capital-Letters/m-p/304953#M707586</guid>
      <dc:creator />
      <dc:date>2012-02-21T16:56:43Z</dc:date>
    </item>
    <item>
      <title>Identify Capital Letters</title>
      <link>https://community.qlik.com/t5/QlikView/Identify-Capital-Letters/m-p/304954#M707587</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Could you create a inline table with all possible keywords like MISTER, THE MISTER etc then whenever you find these then escape them. Somthing on these lines. Though I do not have the full solution i could think of right now.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks,&lt;/P&gt;&lt;P&gt;Rajesh Vaswani&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 21 Feb 2012 17:12:22 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Identify-Capital-Letters/m-p/304954#M707587</guid>
      <dc:creator>rajeshvaswani77</dc:creator>
      <dc:date>2012-02-21T17:12:22Z</dc:date>
    </item>
    <item>
      <title>Identify Capital Letters</title>
      <link>https://community.qlik.com/t5/QlikView/Identify-Capital-Letters/m-p/304955#M707588</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I was not talking about the status of a person (Mr, Ms, Dr, etc...), my examples wasn't clear.&lt;/P&gt;&lt;P&gt;The last name comes fisrt in captial letter&lt;/P&gt;&lt;P&gt;Then the fisrt name comes with just the first letter in capital&lt;/P&gt;&lt;P&gt;ex: BARACK Obama&lt;/P&gt;&lt;P&gt;And I want to split them up.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 21 Feb 2012 17:16:39 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Identify-Capital-Letters/m-p/304955#M707588</guid>
      <dc:creator />
      <dc:date>2012-02-21T17:16:39Z</dc:date>
    </item>
    <item>
      <title>Identify Capital Letters</title>
      <link>https://community.qlik.com/t5/QlikView/Identify-Capital-Letters/m-p/304956#M707592</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Check with this&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Load&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Left(FieldName,Index(FieldName,' ')) as LastName,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Right(FieldName,len(FieldName) - Index(FieldName,' ')+1) as FirstName&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; From&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Datasource&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Celambarasan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 21 Feb 2012 17:20:23 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Identify-Capital-Letters/m-p/304956#M707592</guid>
      <dc:creator>CELAMBARASAN</dc:creator>
      <dc:date>2012-02-21T17:20:23Z</dc:date>
    </item>
    <item>
      <title>Identify Capital Letters</title>
      <link>https://community.qlik.com/t5/QlikView/Identify-Capital-Letters/m-p/304957#M707594</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Use string manipulation &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;index(string1, ' ')&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;this will give the position of the blank space.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Assuming the blank space is the delimiter here between teh firstname and lastname&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;next use left(string1,&amp;lt;result we got from index&amp;gt;)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;should give the last name&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;again&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;right(string1,&amp;lt;result we got from index&amp;gt;+1, len(string1))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;should give the first name.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;We are not depending on capitalization here.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks,&lt;/P&gt;&lt;P&gt;Rajesh Vaswani&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 21 Feb 2012 17:24:17 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Identify-Capital-Letters/m-p/304957#M707594</guid>
      <dc:creator>rajeshvaswani77</dc:creator>
      <dc:date>2012-02-21T17:24:17Z</dc:date>
    </item>
    <item>
      <title>Identify Capital Letters</title>
      <link>https://community.qlik.com/t5/QlikView/Identify-Capital-Letters/m-p/304958#M707595</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The only thing that comes to my mind is an evaluation with upper&lt;/P&gt;&lt;P&gt;if(upper(name) = name, &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 21 Feb 2012 17:31:52 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Identify-Capital-Letters/m-p/304958#M707595</guid>
      <dc:creator />
      <dc:date>2012-02-21T17:31:52Z</dc:date>
    </item>
    <item>
      <title>Identify Capital Letters</title>
      <link>https://community.qlik.com/t5/QlikView/Identify-Capital-Letters/m-p/304959#M707596</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt; Differentiating by case is not something good to do. Would not be reliable. Not recommended.&lt;/P&gt;&lt;P&gt;-RV&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 21 Feb 2012 17:42:02 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Identify-Capital-Letters/m-p/304959#M707596</guid>
      <dc:creator>rajeshvaswani77</dc:creator>
      <dc:date>2012-02-21T17:42:02Z</dc:date>
    </item>
    <item>
      <title>Identify Capital Letters</title>
      <link>https://community.qlik.com/t5/QlikView/Identify-Capital-Letters/m-p/304960#M707597</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;But if you see his post, he says that not always first token is last name and the rest is first name.&lt;/P&gt;&lt;P&gt;The only pattern he visualizes is capital letters&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 21 Feb 2012 17:47:14 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Identify-Capital-Letters/m-p/304960#M707597</guid>
      <dc:creator />
      <dc:date>2012-02-21T17:47:14Z</dc:date>
    </item>
    <item>
      <title>Identify Capital Letters</title>
      <link>https://community.qlik.com/t5/QlikView/Identify-Capital-Letters/m-p/304961#M707598</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt; yup&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 21 Feb 2012 17:47:52 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Identify-Capital-Letters/m-p/304961#M707598</guid>
      <dc:creator>rajeshvaswani77</dc:creator>
      <dc:date>2012-02-21T17:47:52Z</dc:date>
    </item>
    <item>
      <title>Identify Capital Letters</title>
      <link>https://community.qlik.com/t5/QlikView/Identify-Capital-Letters/m-p/304962#M707599</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;NAMES:&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;LOAD * INLINE [&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;NAME&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;THE MISTER Someone Something&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;];&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;TMP:&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;LOAD recno() as recID,if(ord(right(NamePart,1))&amp;lt;97,'UPPER','LOWER') as Case, *;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;LOAD NAME, subfield(NAME,' ') as NamePart resident NAMES;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;left join (NAMES) LOAD NAME, concat(Capitalize(NamePart),' ', recID) as Firstname Resident TMP where Case ='LOWER' group by NAME; &lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;left join (NAMES) LOAD NAME, concat(Capitalize(NamePart),' ', recID) as LastName Resident TMP where Case ='UPPER' group by NAME; &lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;drop table TMP;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I Capitalized the Last Name to The Mister, but you can just remove the Capitalize() function, if you want to get all in UPPER case THE MISTER.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Stefan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 21 Feb 2012 17:48:30 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Identify-Capital-Letters/m-p/304962#M707599</guid>
      <dc:creator>swuehl</dc:creator>
      <dc:date>2012-02-21T17:48:30Z</dc:date>
    </item>
  </channel>
</rss>

