<?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 Parse out text between two identifiers in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Parse-out-text-between-two-identifiers/m-p/661134#M675300</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'm having a little bit of an issue parsing out text found in between two identifiers (strings)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What I am trying to accomplish is below - for example&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a string field named resource and it has the following values:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;|Wireless Transport|WT-ABC-1505|Process statistics&lt;/P&gt;&lt;P&gt;|Wireless Transport|WT-ABC-1506|Process statistics&lt;/P&gt;&lt;P&gt;|Wireless Transport|WT-XYZ-303556|Process statistics&lt;BR /&gt;|Wireless Transport|WT-XYZ-303109|Process statistics&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What I want as the result is to extract the data found between |Wireless Transport| and |Process statistics|, however I do not want to include the numerical text as the result. What I would expect the result to be is as below:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;WT-ABC&lt;/P&gt;&lt;P&gt;WT-XYZ&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If anyone has any suggestions to parse out this information that would be great!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you in advance.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 11 Jul 2014 15:43:43 GMT</pubDate>
    <dc:creator />
    <dc:date>2014-07-11T15:43:43Z</dc:date>
    <item>
      <title>Parse out text between two identifiers</title>
      <link>https://community.qlik.com/t5/QlikView/Parse-out-text-between-two-identifiers/m-p/661134#M675300</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'm having a little bit of an issue parsing out text found in between two identifiers (strings)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What I am trying to accomplish is below - for example&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a string field named resource and it has the following values:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;|Wireless Transport|WT-ABC-1505|Process statistics&lt;/P&gt;&lt;P&gt;|Wireless Transport|WT-ABC-1506|Process statistics&lt;/P&gt;&lt;P&gt;|Wireless Transport|WT-XYZ-303556|Process statistics&lt;BR /&gt;|Wireless Transport|WT-XYZ-303109|Process statistics&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What I want as the result is to extract the data found between |Wireless Transport| and |Process statistics|, however I do not want to include the numerical text as the result. What I would expect the result to be is as below:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;WT-ABC&lt;/P&gt;&lt;P&gt;WT-XYZ&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If anyone has any suggestions to parse out this information that would be great!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you in advance.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 11 Jul 2014 15:43:43 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Parse-out-text-between-two-identifiers/m-p/661134#M675300</guid>
      <dc:creator />
      <dc:date>2014-07-11T15:43:43Z</dc:date>
    </item>
    <item>
      <title>Re: Parse out text between two identifiers</title>
      <link>https://community.qlik.com/t5/QlikView/Parse-out-text-between-two-identifiers/m-p/661135#M675301</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Maybe left(TextBetween(MyField, '&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;|Wireless Transport|&lt;/SPAN&gt;','&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;|Process statistics&lt;/SPAN&gt;'),6)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;or subfield(TextBetween(MyField, '&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;|Wireless Transport|&lt;/SPAN&gt;','&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;|Process statistics&lt;/SPAN&gt;'),'-',1) &amp;amp; '-' &amp;amp; subfield(TextBetween(MyField, '&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;|Wireless Transport|&lt;/SPAN&gt;','&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;|Process statistics&lt;/SPAN&gt;'),'-',2)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 11 Jul 2014 15:47:30 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Parse-out-text-between-two-identifiers/m-p/661135#M675301</guid>
      <dc:creator>Gysbert_Wassenaar</dc:creator>
      <dc:date>2014-07-11T15:47:30Z</dc:date>
    </item>
    <item>
      <title>Re: Parse out text between two identifiers</title>
      <link>https://community.qlik.com/t5/QlikView/Parse-out-text-between-two-identifiers/m-p/661136#M675302</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;try this:&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;Mid(Textbetween(&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;resource,'&lt;/SPAN&gt;|Wireless Transport|', '|Process statistics|'),6)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;let me know&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 11 Jul 2014 15:49:56 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Parse-out-text-between-two-identifiers/m-p/661136#M675302</guid>
      <dc:creator>alexandros17</dc:creator>
      <dc:date>2014-07-11T15:49:56Z</dc:date>
    </item>
    <item>
      <title>Re: Parse out text between two identifiers</title>
      <link>https://community.qlik.com/t5/QlikView/Parse-out-text-between-two-identifiers/m-p/661137#M675303</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Gysbert,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you for the response.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;That solution works but the number of characters is not static throughout the field.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The result may not always be 6 characters. Do you happen to have any ideas dealing with a dynamic number of characters returned?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;*EDIT*&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The subfield suggestion worked like a charm!! Thanks much!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 11 Jul 2014 15:51:16 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Parse-out-text-between-two-identifiers/m-p/661137#M675303</guid>
      <dc:creator />
      <dc:date>2014-07-11T15:51:16Z</dc:date>
    </item>
  </channel>
</rss>

