<?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: First two characters on the left in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/First-two-characters-on-the-left/m-p/9889#M783489</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;And if you want to use the Subfield() function and you are looking for the first slash and your values may show more than one slash, I would use this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Right(SubField(FIELD,'/'&lt;STRONG&gt;,1&lt;/STRONG&gt;),2)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 12 Mar 2018 17:55:15 GMT</pubDate>
    <dc:creator>swuehl</dc:creator>
    <dc:date>2018-03-12T17:55:15Z</dc:date>
    <item>
      <title>First two characters on the left</title>
      <link>https://community.qlik.com/t5/QlikView/First-two-characters-on-the-left/m-p/9883#M783483</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 am trying to extract the first two characters on the left of the first forward slash, "/", in a string.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;e.g if my strings were:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;isisvfveirf/ibei&lt;/P&gt;&lt;P&gt;ertige.veugeu/iei&lt;/P&gt;&lt;P&gt;eqpd/iebfie/wiffr&lt;/P&gt;&lt;P&gt;weuifw.if/wiiwf.iwbi.ieruf&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Then I would like to extract&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;rf&lt;/P&gt;&lt;P&gt;eu&lt;/P&gt;&lt;P&gt;ie&lt;/P&gt;&lt;P&gt;if&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have managed to do this in excel using the following formula but can not seem to do it in qlikview: &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=MID(CELL,FIND("/",CELL)-2,2)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can someone help me to translate this into qlikview as I can not seem to find the equivalent&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Nov 2020 16:16:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/First-two-characters-on-the-left/m-p/9883#M783483</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2020-11-25T16:16:04Z</dc:date>
    </item>
    <item>
      <title>Re: First two characters on the left</title>
      <link>https://community.qlik.com/t5/QlikView/First-two-characters-on-the-left/m-p/9884#M783484</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;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Right(SubField(FieldName, '/', -2), 2) as FieldName2&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 12 Mar 2018 16:53:41 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/First-two-characters-on-the-left/m-p/9884#M783484</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2018-03-12T16:53:41Z</dc:date>
    </item>
    <item>
      <title>Re: First two characters on the left</title>
      <link>https://community.qlik.com/t5/QlikView/First-two-characters-on-the-left/m-p/9885#M783485</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Here is a sample script with inline load of the values you gave&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Table:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;LOAD *,&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Right(SubField(FieldName, '/', -2), 2) as FieldName2;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;LOAD * INLINE [&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; FieldName&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; isisvfveirf/ibei&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; ertige.veugeu/iei&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; eqpd/iebfie/wiffr&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; weuifw.if/wiiwf.iwbi.ieruf&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;];&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 12 Mar 2018 16:55:43 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/First-two-characters-on-the-left/m-p/9885#M783485</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2018-03-12T16:55:43Z</dc:date>
    </item>
    <item>
      <title>Re: First two characters on the left</title>
      <link>https://community.qlik.com/t5/QlikView/First-two-characters-on-the-left/m-p/9886#M783486</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi , try the below&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;=&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;right&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;SubField&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;PurgeChar&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;SubField&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;('ertige.veugeu/iei','/'),'()'),' '),2) &lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 12 Mar 2018 17:08:17 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/First-two-characters-on-the-left/m-p/9886#M783486</guid>
      <dc:creator>vishalgoud</dc:creator>
      <dc:date>2018-03-12T17:08:17Z</dc:date>
    </item>
    <item>
      <title>Re: First two characters on the left</title>
      <link>https://community.qlik.com/t5/QlikView/First-two-characters-on-the-left/m-p/9887#M783487</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The direct translation of the Excel formula would be &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Mid&lt;/STRONG&gt;(FIELD,&lt;STRONG&gt;Index&lt;/STRONG&gt;(FIELD,'/')-2,2)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 12 Mar 2018 17:51:51 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/First-two-characters-on-the-left/m-p/9887#M783487</guid>
      <dc:creator>swuehl</dc:creator>
      <dc:date>2018-03-12T17:51:51Z</dc:date>
    </item>
    <item>
      <title>Re: First two characters on the left</title>
      <link>https://community.qlik.com/t5/QlikView/First-two-characters-on-the-left/m-p/9888#M783488</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Right(SubField(Cell, '/', -2), 2) as Cell&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 12 Mar 2018 17:54:08 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/First-two-characters-on-the-left/m-p/9888#M783488</guid>
      <dc:creator>shiveshsingh</dc:creator>
      <dc:date>2018-03-12T17:54:08Z</dc:date>
    </item>
    <item>
      <title>Re: First two characters on the left</title>
      <link>https://community.qlik.com/t5/QlikView/First-two-characters-on-the-left/m-p/9889#M783489</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;And if you want to use the Subfield() function and you are looking for the first slash and your values may show more than one slash, I would use this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Right(SubField(FIELD,'/'&lt;STRONG&gt;,1&lt;/STRONG&gt;),2)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 12 Mar 2018 17:55:15 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/First-two-characters-on-the-left/m-p/9889#M783489</guid>
      <dc:creator>swuehl</dc:creator>
      <dc:date>2018-03-12T17:55:15Z</dc:date>
    </item>
    <item>
      <title>Re: First two characters on the left</title>
      <link>https://community.qlik.com/t5/QlikView/First-two-characters-on-the-left/m-p/9890#M783490</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you very much all&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 14 Mar 2018 11:48:58 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/First-two-characters-on-the-left/m-p/9890#M783490</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-03-14T11:48:58Z</dc:date>
    </item>
    <item>
      <title>Re: First two characters on the left</title>
      <link>https://community.qlik.com/t5/QlikView/First-two-characters-on-the-left/m-p/9891#M783491</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Please close the thread&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 14 Mar 2018 16:01:29 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/First-two-characters-on-the-left/m-p/9891#M783491</guid>
      <dc:creator>shiveshsingh</dc:creator>
      <dc:date>2018-03-14T16:01:29Z</dc:date>
    </item>
  </channel>
</rss>

