<?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 TEXTBETWEEN Question in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/TEXTBETWEEN-Question/m-p/1861599#M71101</link>
    <description>&lt;P&gt;Hi - Question about a text field and formula.&lt;/P&gt;
&lt;P&gt;I have a table with a field that contains text (field name : productinfo). The field contains a lot of text. I would like to obtain the&amp;nbsp; text at a starting point&amp;nbsp; (say ABC) and all the way to the end of the field.&amp;nbsp; The text in the field varies.&lt;/P&gt;
&lt;P&gt;Example:&lt;/P&gt;
&lt;P&gt;productinfo =&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;EM&gt;&lt;STRONG&gt;This is miscellaneous text provided with a variety of information.&amp;nbsp; ABC this is information I would like to obtain.&lt;/STRONG&gt;&lt;/EM&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I would like a new field on the data load (say ABCINFO). Therefore, in the example above :&lt;/P&gt;
&lt;P&gt;ABCINFO = &lt;STRONG&gt;&lt;EM&gt;ABC this is information I would like to obtain.&lt;/EM&gt;&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I am not sure if and how TEXTBETWEEN would work in this situation.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Any thoughts ? Jerry&lt;/P&gt;</description>
    <pubDate>Fri, 19 Nov 2021 16:58:54 GMT</pubDate>
    <dc:creator>jerryr125</dc:creator>
    <dc:date>2021-11-19T16:58:54Z</dc:date>
    <item>
      <title>TEXTBETWEEN Question</title>
      <link>https://community.qlik.com/t5/App-Development/TEXTBETWEEN-Question/m-p/1861599#M71101</link>
      <description>&lt;P&gt;Hi - Question about a text field and formula.&lt;/P&gt;
&lt;P&gt;I have a table with a field that contains text (field name : productinfo). The field contains a lot of text. I would like to obtain the&amp;nbsp; text at a starting point&amp;nbsp; (say ABC) and all the way to the end of the field.&amp;nbsp; The text in the field varies.&lt;/P&gt;
&lt;P&gt;Example:&lt;/P&gt;
&lt;P&gt;productinfo =&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;EM&gt;&lt;STRONG&gt;This is miscellaneous text provided with a variety of information.&amp;nbsp; ABC this is information I would like to obtain.&lt;/STRONG&gt;&lt;/EM&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I would like a new field on the data load (say ABCINFO). Therefore, in the example above :&lt;/P&gt;
&lt;P&gt;ABCINFO = &lt;STRONG&gt;&lt;EM&gt;ABC this is information I would like to obtain.&lt;/EM&gt;&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I am not sure if and how TEXTBETWEEN would work in this situation.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Any thoughts ? Jerry&lt;/P&gt;</description>
      <pubDate>Fri, 19 Nov 2021 16:58:54 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/TEXTBETWEEN-Question/m-p/1861599#M71101</guid>
      <dc:creator>jerryr125</dc:creator>
      <dc:date>2021-11-19T16:58:54Z</dc:date>
    </item>
    <item>
      <title>Re: TEXTBETWEEN Question</title>
      <link>https://community.qlik.com/t5/App-Development/TEXTBETWEEN-Question/m-p/1861612#M71103</link>
      <description>&lt;P&gt;i suppose you could use textbetween like&lt;/P&gt;
&lt;P&gt;textbetween(&lt;SPAN&gt;productinfo, 'abc', right(productinfo,1) &amp;amp; right(productinfo,1)&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;i would use subfield. this also assumes you don't have 'abc' &amp;gt; 1 time in your string&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;subfield(productinfo, 'abc', 2)&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;if you want to include the text abc, then do...&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;'abc' &amp;amp;&amp;nbsp;subfield(productinfo, 'abc', 2)&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 19 Nov 2021 17:09:26 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/TEXTBETWEEN-Question/m-p/1861612#M71103</guid>
      <dc:creator>stevejoyce</dc:creator>
      <dc:date>2021-11-19T17:09:26Z</dc:date>
    </item>
    <item>
      <title>Re: TEXTBETWEEN Question</title>
      <link>https://community.qlik.com/t5/App-Development/TEXTBETWEEN-Question/m-p/1861613#M71104</link>
      <description>&lt;P&gt;thinking about this a bit more, maybe better off using right(), with index() and len()&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;=right('&lt;SPAN&gt;productinfo&lt;/SPAN&gt;',&amp;nbsp;&lt;SPAN&gt;productinfo&lt;/SPAN&gt; - (index(&lt;SPAN&gt;productinfo&lt;/SPAN&gt;, '&lt;SPAN&gt;abc&lt;/SPAN&gt;') - 3))&lt;/P&gt;
&lt;P&gt;//taking right N number of characters.&amp;nbsp; where N = total length of string - index/position of 'abc' + 3 (length of 'abc') if you want to include abc in your result.&lt;/P&gt;</description>
      <pubDate>Fri, 19 Nov 2021 17:12:46 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/TEXTBETWEEN-Question/m-p/1861613#M71104</guid>
      <dc:creator>stevejoyce</dc:creator>
      <dc:date>2021-11-19T17:12:46Z</dc:date>
    </item>
    <item>
      <title>Re: TEXTBETWEEN Question</title>
      <link>https://community.qlik.com/t5/App-Development/TEXTBETWEEN-Question/m-p/1861810#M71116</link>
      <description>&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;Mid(productinfo,Index(productinfo,'ABC')) as ABCINFO &lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;hope this helps&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Marco&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Sun, 21 Nov 2021 15:04:18 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/TEXTBETWEEN-Question/m-p/1861810#M71116</guid>
      <dc:creator>MarcoWedel</dc:creator>
      <dc:date>2021-11-21T15:04:18Z</dc:date>
    </item>
  </channel>
</rss>

