<?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 Help in understanding FindOneOf() function in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Help-in-understanding-FindOneOf-function/m-p/1128156#M909673</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I was going through the FindOneOf() Function in Qlikview.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;As per the Qlikview Help section, it explains FindOneOf() as below:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P class="syntax"&gt;&lt;A name="kanchor1275" target="_blank"&gt;&lt;/A&gt;&lt;A name="findoneof" target="_blank"&gt;&lt;/A&gt;&lt;SPAN class="Bold"&gt;FindOneOf(&lt;/SPAN&gt;&lt;SPAN class="Italic"&gt;text , characterset [ , n]&lt;/SPAN&gt;&lt;SPAN class="Bold"&gt;)&lt;/SPAN&gt; &lt;/P&gt;&lt;P&gt;Returns the position of the &lt;SPAN class="Italic"&gt;n&lt;/SPAN&gt;:th occurrence in the string &lt;SPAN class="Italic"&gt;text&lt;/SPAN&gt; of any of the characters found in the string &lt;SPAN class="Italic"&gt;characterset&lt;/SPAN&gt;. If &lt;SPAN class="Italic"&gt;n&lt;/SPAN&gt; is omitted, the position of the first occurrence is returned. If there no matching string is found, &lt;SPAN class="Italic"&gt;0&lt;/SPAN&gt; is returned. &lt;/P&gt;&lt;P class="example"&gt;Example:&lt;/P&gt;&lt;P&gt;&lt;SPAN class="Code"&gt;findoneof( 'my example text string', 'et%s')&lt;/SPAN&gt; returns '&lt;SPAN class="Italic"&gt;4&lt;/SPAN&gt;'&lt;/P&gt;&lt;P&gt;&lt;SPAN class="Code"&gt;findoneof( 'my example text string', 'et%s', 3)&lt;/SPAN&gt; returns '&lt;SPAN class="Italic"&gt;12&lt;/SPAN&gt;'&lt;/P&gt;&lt;P&gt;&lt;SPAN class="Code"&gt;findoneof( 'my example text string', '¤%&amp;amp;')&lt;/SPAN&gt; returns '&lt;SPAN class="Italic"&gt;0&lt;/SPAN&gt;'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I was able to understand how the output is returned as 4,12 and 0 in the examples&amp;nbsp; mentioned above. But I am unable to understand as to why &lt;STRONG&gt;"%" &lt;/STRONG&gt;is used in every characterset e.g.'et%s'. Even if % is removed, the output turns out to be the same.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can anyone please explain the use of %?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Asma&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 25 Nov 2020 16:16:04 GMT</pubDate>
    <dc:creator>riyazasma1009</dc:creator>
    <dc:date>2020-11-25T16:16:04Z</dc:date>
    <item>
      <title>Help in understanding FindOneOf() function</title>
      <link>https://community.qlik.com/t5/QlikView/Help-in-understanding-FindOneOf-function/m-p/1128156#M909673</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I was going through the FindOneOf() Function in Qlikview.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;As per the Qlikview Help section, it explains FindOneOf() as below:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P class="syntax"&gt;&lt;A name="kanchor1275" target="_blank"&gt;&lt;/A&gt;&lt;A name="findoneof" target="_blank"&gt;&lt;/A&gt;&lt;SPAN class="Bold"&gt;FindOneOf(&lt;/SPAN&gt;&lt;SPAN class="Italic"&gt;text , characterset [ , n]&lt;/SPAN&gt;&lt;SPAN class="Bold"&gt;)&lt;/SPAN&gt; &lt;/P&gt;&lt;P&gt;Returns the position of the &lt;SPAN class="Italic"&gt;n&lt;/SPAN&gt;:th occurrence in the string &lt;SPAN class="Italic"&gt;text&lt;/SPAN&gt; of any of the characters found in the string &lt;SPAN class="Italic"&gt;characterset&lt;/SPAN&gt;. If &lt;SPAN class="Italic"&gt;n&lt;/SPAN&gt; is omitted, the position of the first occurrence is returned. If there no matching string is found, &lt;SPAN class="Italic"&gt;0&lt;/SPAN&gt; is returned. &lt;/P&gt;&lt;P class="example"&gt;Example:&lt;/P&gt;&lt;P&gt;&lt;SPAN class="Code"&gt;findoneof( 'my example text string', 'et%s')&lt;/SPAN&gt; returns '&lt;SPAN class="Italic"&gt;4&lt;/SPAN&gt;'&lt;/P&gt;&lt;P&gt;&lt;SPAN class="Code"&gt;findoneof( 'my example text string', 'et%s', 3)&lt;/SPAN&gt; returns '&lt;SPAN class="Italic"&gt;12&lt;/SPAN&gt;'&lt;/P&gt;&lt;P&gt;&lt;SPAN class="Code"&gt;findoneof( 'my example text string', '¤%&amp;amp;')&lt;/SPAN&gt; returns '&lt;SPAN class="Italic"&gt;0&lt;/SPAN&gt;'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I was able to understand how the output is returned as 4,12 and 0 in the examples&amp;nbsp; mentioned above. But I am unable to understand as to why &lt;STRONG&gt;"%" &lt;/STRONG&gt;is used in every characterset e.g.'et%s'. Even if % is removed, the output turns out to be the same.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can anyone please explain the use of %?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Asma&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/Help-in-understanding-FindOneOf-function/m-p/1128156#M909673</guid>
      <dc:creator>riyazasma1009</dc:creator>
      <dc:date>2020-11-25T16:16:04Z</dc:date>
    </item>
    <item>
      <title>Re: Help in understanding FindOneOf() function</title>
      <link>https://community.qlik.com/t5/QlikView/Help-in-understanding-FindOneOf-function/m-p/1128157#M909674</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Asma Riyaz,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I think they have added the '%' only to show that this function will evaluate any char and it doesn't matter if it's in the evaluated string or not, it always will return a result.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-- Karla&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 18 Jun 2016 04:01:07 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Help-in-understanding-FindOneOf-function/m-p/1128157#M909674</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-06-18T04:01:07Z</dc:date>
    </item>
    <item>
      <title>Re: Help in understanding FindOneOf() function</title>
      <link>https://community.qlik.com/t5/QlikView/Help-in-understanding-FindOneOf-function/m-p/1128158#M909675</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;The below explanation is what I have understood.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit;"&gt;&lt;STRONG&gt;&lt;SPAN style="color: #ff0000;"&gt;From Help:&lt;/SPAN&gt; &lt;/STRONG&gt;Returns the position of the &lt;/SPAN&gt;&lt;SPAN class="Italic" style="font-weight: inherit; font-style: inherit;"&gt;n&lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit;"&gt;:th occurrence in the string &lt;/SPAN&gt;&lt;SPAN class="Italic" style="font-weight: inherit; font-style: inherit;"&gt;text&lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit;"&gt; of &lt;SPAN style="font-style: inherit; font-family: inherit; color: #ff0000;"&gt;&lt;STRONG&gt;any of the characters found&lt;/STRONG&gt;&lt;/SPAN&gt; in the string &lt;/SPAN&gt;&lt;SPAN class="Italic" style="font-weight: inherit; font-style: inherit;"&gt;character set&lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit;"&gt;.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN class="Code" style="font-weight: inherit; font-style: inherit;"&gt;findoneof( 'my &lt;SPAN style="font-style: inherit; font-family: inherit; color: #ff0000;"&gt;&lt;STRONG&gt;e&lt;/STRONG&gt;&lt;/SPAN&gt;xample text string', 'et%s')&lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit;"&gt; returns '&lt;/SPAN&gt;&lt;SPAN class="Italic" style="font-weight: inherit; font-style: inherit;"&gt;4&lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit;"&gt;'&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit;"&gt;In the above example character "e" is found in 4 th position. If you specify the 3 rd parameter ("n") then QV starts search from that position. If no "e" found in the string, then next character will be considered. (QV starts search from the next characterset. i.e "t").&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit;"&gt;&lt;SPAN class="Code" style="font-weight: inherit; font-style: inherit;"&gt;findoneof( 'my 1xampl1 &lt;SPAN style="font-style: inherit; font-family: inherit; color: #ff0000;"&gt;&lt;STRONG&gt;t&lt;/STRONG&gt;&lt;/SPAN&gt;1xt string', 'et%s')&lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit;"&gt; returns '12&lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit;"&gt;'&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit;"&gt;Character "e" is not available in the above example. So it starts looking for second characterset i.e "t".&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 13px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 13px;"&gt;&lt;SPAN class="Code" style="font-weight: inherit; font-style: inherit;"&gt;findoneof( 'my 1xampl1 21x2 &lt;SPAN style="font-style: inherit; font-family: inherit; color: #ff0000;"&gt;&lt;STRONG&gt;s&lt;/STRONG&gt;&lt;/SPAN&gt;2ring', 'et%s')&lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit;"&gt; returns '17&lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit;"&gt;'&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 13px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit;"&gt;In the above example, characters e, t and % not available, so it starts looking for the character "s".&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit;"&gt;findoneof( 'my &lt;SPAN style="color: #ff0000; font-style: inherit; font-family: inherit; font-weight: inherit;"&gt;&lt;STRONG&gt;%&lt;/STRONG&gt;&lt;/SPAN&gt;xampl1 21x2 s2ring', 'et%s') returns '4'.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;In the last case, % is located in 4 th position. Even if the character "s" is available, QV first finds the third specified character i.e "%".&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="font-style: inherit; font-family: inherit;"&gt;&lt;STRONG&gt;in simple words, If the first character is not found, it automatically searches in the second, third and so on till it finds the exact search that matches our search and it will return the position. If nothing is found it shows of "0"&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 18 Jun 2016 05:59:44 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Help-in-understanding-FindOneOf-function/m-p/1128158#M909675</guid>
      <dc:creator>tamilarasu</dc:creator>
      <dc:date>2016-06-18T05:59:44Z</dc:date>
    </item>
  </channel>
</rss>

