<?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: String Functions in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/String-Functions/m-p/834843#M1017261</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Could you please mark the answer?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Tanks&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Alexandros&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 15 Apr 2015 09:01:24 GMT</pubDate>
    <dc:creator>alexandros17</dc:creator>
    <dc:date>2015-04-15T09:01:24Z</dc:date>
    <item>
      <title>String Functions</title>
      <link>https://community.qlik.com/t5/QlikView/String-Functions/m-p/834835#M1017253</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear all,&lt;/P&gt;&lt;P&gt;I am stuck at a problem which relates to string functions in Qlikview. The problem I have is with a field that contains Alpha-Numeric characters where both have their importance. A sample of records in the field are as follows:&lt;/P&gt;&lt;P&gt;&amp;nbsp; &lt;/P&gt;&lt;TABLE border="0" cellpadding="0" cellspacing="0" width="75"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD class="xl65" height="18" width="75"&gt;160TW15.15&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl65" height="18" style="border-top: none;"&gt;160TW15.24&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl65" height="18" style="border-top: none;"&gt;160TW15.29&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl65" height="18" style="border-top: none;"&gt;170E7.05&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl65" height="18" style="border-top: none;"&gt;170E12.6&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl65" height="18" style="border-top: none;"&gt;170E12.24&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl65" height="18" style="border-top: none;"&gt;170E12.49&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl65" height="18" style="border-top: none;"&gt;170E12.55&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl65" height="18" style="border-top: none;"&gt;170E12.63&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl65" height="18" style="border-top: none;"&gt;170E12.67&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl65" height="18" style="border-top: none;"&gt;170JP3.67&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl65" height="18" style="border-top: none;"&gt;170JP3.72&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl65" height="18" style="border-top: none;"&gt;170JP3.77&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl65" height="18" style="border-top: none;"&gt;170JP3.82&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl65" height="18" style="border-top: none;"&gt;170JP3.675&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl65" height="18" style="border-top: none;"&gt;170JP3.684&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;Here the number and the alpha characters, upto the last alpha represent the name of the Stock and the numbers after the last alpha character represents the weight. The problem I have is that some names are 4 characters long whilst some are 5 so it is a variable. I need a function which can identify the last alpha in each string and separate the two parts. I could do this in the front end or back end! Examples from the above data would be:&lt;/P&gt;&lt;P&gt;1) 160TW represents name and 15.15, 15.24 &amp;amp; 15.29 is its weight &lt;/P&gt;&lt;P&gt;2) 170E is the stock name and 7.05, 12.6 and so on are the weight&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please help!!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Apr 2015 05:36:15 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/String-Functions/m-p/834835#M1017253</guid>
      <dc:creator />
      <dc:date>2015-04-15T05:36:15Z</dc:date>
    </item>
    <item>
      <title>Re: String Functions</title>
      <link>https://community.qlik.com/t5/QlikView/String-Functions/m-p/834836#M1017254</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;did you try something like this:&lt;/P&gt;&lt;P&gt;Load&lt;/P&gt;&lt;P&gt;mid(your_field,1,if(isnum(mid(your_field,5,1)),4,3)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Apr 2015 07:28:13 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/String-Functions/m-p/834836#M1017254</guid>
      <dc:creator>ali_hijazi</dc:creator>
      <dc:date>2015-04-15T07:28:13Z</dc:date>
    </item>
    <item>
      <title>Re: String Functions</title>
      <link>https://community.qlik.com/t5/QlikView/String-Functions/m-p/834837#M1017255</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;yeah i just tried it but its not working! This function is giving me the numbers preceding the alpha characters and not the ones after!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Apr 2015 07:44:48 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/String-Functions/m-p/834837#M1017255</guid>
      <dc:creator />
      <dc:date>2015-04-15T07:44:48Z</dc:date>
    </item>
    <item>
      <title>Re: String Functions</title>
      <link>https://community.qlik.com/t5/QlikView/String-Functions/m-p/834838#M1017256</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Here ii is the expression you need:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Mid('160TW15.29',1,FindOneOf(Lower('160TW15.29'),'abcdefghijklmnopqrstuvwxyz',-1))&lt;BR /&gt; Mid('160TW15.29',FindOneOf(Lower('160TW15.29'),'abcdefghijklmnopqrstuvwxyz',-1)+1)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;let me know&lt;BR /&gt; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Apr 2015 07:47:01 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/String-Functions/m-p/834838#M1017256</guid>
      <dc:creator>alexandros17</dc:creator>
      <dc:date>2015-04-15T07:47:01Z</dc:date>
    </item>
    <item>
      <title>Re: String Functions</title>
      <link>https://community.qlik.com/t5/QlikView/String-Functions/m-p/834839#M1017257</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;then you can use the following&lt;/P&gt;&lt;P&gt;=mid(&lt;SPAN style="font-size: 13.3333330154419px;"&gt;your_field&lt;/SPAN&gt;,if(isnum(mid(&lt;SPAN style="font-size: 13.3333330154419px;"&gt;your_field&lt;/SPAN&gt;,5,1)),5,4))&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Apr 2015 07:49:48 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/String-Functions/m-p/834839#M1017257</guid>
      <dc:creator>ali_hijazi</dc:creator>
      <dc:date>2015-04-15T07:49:48Z</dc:date>
    </item>
    <item>
      <title>Re: String Functions</title>
      <link>https://community.qlik.com/t5/QlikView/String-Functions/m-p/834840#M1017258</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yup this function is working just fine! Thank you Alessandro!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Apr 2015 07:54:23 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/String-Functions/m-p/834840#M1017258</guid>
      <dc:creator />
      <dc:date>2015-04-15T07:54:23Z</dc:date>
    </item>
    <item>
      <title>Re: String Functions</title>
      <link>https://community.qlik.com/t5/QlikView/String-Functions/m-p/834841#M1017259</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Ali Hijazi for your help!&lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Apr 2015 07:55:22 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/String-Functions/m-p/834841#M1017259</guid>
      <dc:creator />
      <dc:date>2015-04-15T07:55:22Z</dc:date>
    </item>
    <item>
      <title>Re: String Functions</title>
      <link>https://community.qlik.com/t5/QlikView/String-Functions/m-p/834842#M1017260</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Do you have any remaining questions related to this topic?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If not, please flag the topic as answered by selecting who gave the (correct) answer &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;. Thank you!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Apr 2015 08:57:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/String-Functions/m-p/834842#M1017260</guid>
      <dc:creator>oknotsen</dc:creator>
      <dc:date>2015-04-15T08:57:04Z</dc:date>
    </item>
    <item>
      <title>Re: String Functions</title>
      <link>https://community.qlik.com/t5/QlikView/String-Functions/m-p/834843#M1017261</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Could you please mark the answer?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Tanks&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Alexandros&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Apr 2015 09:01:24 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/String-Functions/m-p/834843#M1017261</guid>
      <dc:creator>alexandros17</dc:creator>
      <dc:date>2015-04-15T09:01:24Z</dc:date>
    </item>
  </channel>
</rss>

