<?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: Read between two words in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Read-between-two-words/m-p/537758#M684424</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;That works, I have try them all, but not in the same if statment, nice.&lt;/P&gt;&lt;P&gt;You have also a point about group/order by, that will be the next to solve.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;//Staffan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 20 Jan 2014 14:56:28 GMT</pubDate>
    <dc:creator>stabben23</dc:creator>
    <dc:date>2014-01-20T14:56:28Z</dc:date>
    <item>
      <title>Read between two words</title>
      <link>https://community.qlik.com/t5/QlikView/Read-between-two-words/m-p/537754#M684420</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi I try to read text between two words, I use today TextBetween and it works when I have the second word.&lt;/P&gt;&lt;P&gt;Sometimes I dont have the second word and then it fail to read that line.&lt;/P&gt;&lt;P&gt;In my example I read: textbetween(Statement,'FROM ', 'WHERE' ) and this will give me the datasource, but sometimes ther is no WHERE statment in my query, any Idea?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;//Staffan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 20 Jan 2014 14:10:55 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Read-between-two-words/m-p/537754#M684420</guid>
      <dc:creator>stabben23</dc:creator>
      <dc:date>2014-01-20T14:10:55Z</dc:date>
    </item>
    <item>
      <title>Re: Read between two words</title>
      <link>https://community.qlik.com/t5/QlikView/Read-between-two-words/m-p/537755#M684421</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Can you please post sample data ?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 20 Jan 2014 14:14:15 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Read-between-two-words/m-p/537755#M684421</guid>
      <dc:creator />
      <dc:date>2014-01-20T14:14:15Z</dc:date>
    </item>
    <item>
      <title>Re: Read between two words</title>
      <link>https://community.qlik.com/t5/QlikView/Read-between-two-words/m-p/537756#M684422</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;No, but like this:&lt;/P&gt;&lt;P&gt;bla bla lot of text bla bla FROM datasource Where A=B, this works and will give me datasource&lt;/P&gt;&lt;P&gt;bla bla lot of text bla bla FROM datasource, won´t work, gives me nothing.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;//Staffan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 20 Jan 2014 14:22:49 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Read-between-two-words/m-p/537756#M684422</guid>
      <dc:creator>stabben23</dc:creator>
      <dc:date>2014-01-20T14:22:49Z</dc:date>
    </item>
    <item>
      <title>Re: Read between two words</title>
      <link>https://community.qlik.com/t5/QlikView/Read-between-two-words/m-p/537757#M684423</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;something similar to&lt;/P&gt;&lt;P&gt;=if(index('$(vText)','where'),&lt;/P&gt;&lt;P&gt;TextBetween('$(vText)', 'from', 'where')&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; // where exists&lt;/P&gt;&lt;P&gt;, SubField&amp;nbsp; ('$(vText)', 'from', 2))&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; // where doesn't&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;but what about group by, order by , etc......?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;vText is a variable in InputBox &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 20 Jan 2014 14:29:15 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Read-between-two-words/m-p/537757#M684423</guid>
      <dc:creator>maxgro</dc:creator>
      <dc:date>2014-01-20T14:29:15Z</dc:date>
    </item>
    <item>
      <title>Re: Read between two words</title>
      <link>https://community.qlik.com/t5/QlikView/Read-between-two-words/m-p/537758#M684424</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;That works, I have try them all, but not in the same if statment, nice.&lt;/P&gt;&lt;P&gt;You have also a point about group/order by, that will be the next to solve.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;//Staffan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 20 Jan 2014 14:56:28 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Read-between-two-words/m-p/537758#M684424</guid>
      <dc:creator>stabben23</dc:creator>
      <dc:date>2014-01-20T14:56:28Z</dc:date>
    </item>
  </channel>
</rss>

