<?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: TextBetween or Subfield? in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/TextBetween-or-Subfield/m-p/460456#M171899</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try this out. QVW sample attached as well. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-Rob&lt;/P&gt;&lt;P&gt;&lt;A class="jive-link-external-small" href="http://robwunderlich.com"&gt;http://robwunderlich.com&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;LOAD&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;//Phrase,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;SubField(Phrase,'.',1) as Field1 &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;,SubField(Phrase,'.',2) as Field2 &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;,SubField(Phrase,'.',3) as Field3 &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;LOAD&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;Phrase&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;Where Phrase LIKE '*.*.*' &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;LOAD &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;subfield(RawData, ',') as Phrase&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;LOAD * INLINE [&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;RawData&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;ABC , 123-All- , Fixed , Help.Me.FindThis , Or Else , Default , Default&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; (data is in 4th position)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;DEF , Fixed , Help.Me.GetThis , Or Else , Default , Default&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; (data is in 3rd position)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;X , 123-All- , Broken , Beautiful , Get.This.Data , Or Else , Default , Default&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; (data is in 5th position)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;ABC , 123-All- , Broken , Careful , Get.This. , Easy as pie , Hard as nails , Bye&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; (data is in 5th position and 3rd field is blank)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;]&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;(delimiter is ';')&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 21 Feb 2013 22:42:23 GMT</pubDate>
    <dc:creator>rwunderlich</dc:creator>
    <dc:date>2013-02-21T22:42:23Z</dc:date>
    <item>
      <title>TextBetween or Subfield?</title>
      <link>https://community.qlik.com/t5/QlikView/TextBetween-or-Subfield/m-p/460455#M171898</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'm trying to extract specific data from rows that are not always in the same position. The data I'm interested in is divided into 3 parts and separated by periods ".". Some data only contains 2 parts. Each data field is preceeded and followed by a space, such as;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ABC , 123-All- , Fixed , &lt;STRONG&gt;Help.Me.FindThis&lt;/STRONG&gt; , Or Else , Default , Default&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; (data is in 4th position)&lt;/P&gt;&lt;P&gt;DEF , Fixed , &lt;STRONG&gt;Help.Me.GetThis &lt;/STRONG&gt;, Or Else , Default , Default&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; (data is in 3rd position)&lt;/P&gt;&lt;P&gt;X , 123-All- , Broken , Beautiful , &lt;STRONG&gt;Get.This.Data &lt;/STRONG&gt;, Or Else , Default , Default&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; (data is in 5th position)&lt;/P&gt;&lt;P&gt;ABC , 123-All- , Broken , Careful , &lt;STRONG&gt;Get.This.&lt;/STRONG&gt; , Easy as pie , Hard as nails , Bye&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; (data is in 5th position and 3rd field is blank)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;There's actually 5 or 6 different positions the required data would be in.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;And each data would be separated into 3 new fields, Field1, Field2, and Field3.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So, my results would be;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;TABLE border="1" cellpadding="3" cellspacing="0" class="jiveBorder" style="width: 20%; border: 1px solid #000000;"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TH align="center" style="background-color: #6690bc;" valign="middle"&gt;&lt;SPAN style="color: #ffffff;"&gt;&lt;STRONG&gt;Field1&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/TH&gt;&lt;TH align="center" style="background-color: #6690bc;" valign="middle"&gt;&lt;SPAN style="color: #ffffff;"&gt;&lt;STRONG&gt;Field2&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/TH&gt;&lt;TH align="center" style="background-color: #6690bc;" valign="middle"&gt;&lt;SPAN style="color: #ffffff;"&gt;&lt;STRONG&gt;Field3&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/TH&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;Help&lt;/TD&gt;&lt;TD&gt;Me&lt;/TD&gt;&lt;TD&gt;FindThis&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;Help&lt;/TD&gt;&lt;TD&gt;Me&lt;/TD&gt;&lt;TD&gt;GetThis&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;Get&lt;/TD&gt;&lt;TD&gt;This&lt;/TD&gt;&lt;TD&gt;Data&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;Get&lt;/TD&gt;&lt;TD&gt;This&lt;/TD&gt;&lt;TD&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;I've been trying nested IF's using TextBetween and have gotten good results, but still can't get 100% of the data extracted, and if some new "IF" came along I'd have to redo the nested IF's. I was hoping someone else has run across this and has a better mouse trap. Perhaps using SubField?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Message was edited by: johncaqc&#xD;
Fixed data in table&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 21 Feb 2013 20:58:44 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/TextBetween-or-Subfield/m-p/460455#M171898</guid>
      <dc:creator>johnca</dc:creator>
      <dc:date>2013-02-21T20:58:44Z</dc:date>
    </item>
    <item>
      <title>Re: TextBetween or Subfield?</title>
      <link>https://community.qlik.com/t5/QlikView/TextBetween-or-Subfield/m-p/460456#M171899</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try this out. QVW sample attached as well. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-Rob&lt;/P&gt;&lt;P&gt;&lt;A class="jive-link-external-small" href="http://robwunderlich.com"&gt;http://robwunderlich.com&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;LOAD&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;//Phrase,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;SubField(Phrase,'.',1) as Field1 &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;,SubField(Phrase,'.',2) as Field2 &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;,SubField(Phrase,'.',3) as Field3 &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;LOAD&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;Phrase&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;Where Phrase LIKE '*.*.*' &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;LOAD &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;subfield(RawData, ',') as Phrase&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;LOAD * INLINE [&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;RawData&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;ABC , 123-All- , Fixed , Help.Me.FindThis , Or Else , Default , Default&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; (data is in 4th position)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;DEF , Fixed , Help.Me.GetThis , Or Else , Default , Default&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; (data is in 3rd position)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;X , 123-All- , Broken , Beautiful , Get.This.Data , Or Else , Default , Default&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; (data is in 5th position)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;ABC , 123-All- , Broken , Careful , Get.This. , Easy as pie , Hard as nails , Bye&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; (data is in 5th position and 3rd field is blank)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;]&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;(delimiter is ';')&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 21 Feb 2013 22:42:23 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/TextBetween-or-Subfield/m-p/460456#M171899</guid>
      <dc:creator>rwunderlich</dc:creator>
      <dc:date>2013-02-21T22:42:23Z</dc:date>
    </item>
    <item>
      <title>Re: TextBetween or Subfield?</title>
      <link>https://community.qlik.com/t5/QlikView/TextBetween-or-Subfield/m-p/460457#M171900</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;When I try SubField() a la;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SubField(Concatenated_Segments,'.',1) as Field1,&lt;/P&gt;&lt;P&gt;SubField(Concatenated_Segments,'.',2) as Field2,&lt;/P&gt;&lt;P&gt;SubField(Concatenated_Segments,'.',3) as Field3,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;it gets me close too, but it returns too many segments/characters for the Field1 and Field3 positions. Plus, I found I have data where some preceeding segments have periods in them and it returns segments too early. An example of one row where this is the case is;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ABC , 1.0.0.NA , Come On Man , &lt;STRONG&gt;Help.Me.FindThis&lt;/STRONG&gt; , Or Else , Default , Default&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 21 Feb 2013 22:42:52 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/TextBetween-or-Subfield/m-p/460457#M171900</guid>
      <dc:creator>johnca</dc:creator>
      <dc:date>2013-02-21T22:42:52Z</dc:date>
    </item>
    <item>
      <title>Re: TextBetween or Subfield?</title>
      <link>https://community.qlik.com/t5/QlikView/TextBetween-or-Subfield/m-p/460458#M171901</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Rob. I'm playing with this now...will need some tweaking as the phrase format is more like '*,*,*.*.*.*,' where the data I'm looking for is, I believe, at least 2 commas into the field. I don't think it's less than 3 commas in...but this looks a lot more easy to maintain than my multiline IF's. &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;However, the last line where you specify the delimiter as ';' confuses me. There's no semi-colons in the data.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 21 Feb 2013 23:00:55 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/TextBetween-or-Subfield/m-p/460458#M171901</guid>
      <dc:creator>johnca</dc:creator>
      <dc:date>2013-02-21T23:00:55Z</dc:date>
    </item>
    <item>
      <title>Re: TextBetween or Subfield?</title>
      <link>https://community.qlik.com/t5/QlikView/TextBetween-or-Subfield/m-p/460459#M171902</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi John,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I think you are misunderstanding. It doesn't matter how many commas in the phrase is. It will still be located. The preceeding load does things one piece at a time. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;After the &lt;/P&gt;&lt;P&gt;LOAD &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;subfield(RawData, ',') as Phrase&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;,RawData&lt;/P&gt;&lt;P&gt;;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Phrase Contains:&lt;/P&gt;&lt;P&gt;ABC &lt;/P&gt;&lt;P&gt; 123-All- &lt;/P&gt;&lt;P&gt; Fixed &lt;/P&gt;&lt;P&gt; Help.Me.FindThis &lt;/P&gt;&lt;P&gt; Or Else &lt;/P&gt;&lt;P&gt; Default &lt;/P&gt;&lt;P&gt; Default&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; (data is in 4th position)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Then &lt;/P&gt;&lt;P&gt;LOAD&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;Phrase&lt;/P&gt;&lt;P&gt;Where Phrase LIKE '*.*.*' &lt;/P&gt;&lt;P&gt;;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;filters the Phrase list down to &lt;/P&gt;&lt;P&gt; Help.Me.FindThis &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and lastly &lt;/P&gt;&lt;P&gt;LOAD&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;Phrase,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;SubField(Phrase,'.',1) as Field1 &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;,SubField(Phrase,'.',2) as Field2 &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;,SubField(Phrase,'.',3) as Field3 &lt;/P&gt;&lt;P&gt;;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;breaks that Phrase into 3 fields. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So it doesn't matter how far in the *.*.* phrase is.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-Rob&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 21 Feb 2013 23:11:11 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/TextBetween-or-Subfield/m-p/460459#M171902</guid>
      <dc:creator>rwunderlich</dc:creator>
      <dc:date>2013-02-21T23:11:11Z</dc:date>
    </item>
    <item>
      <title>Re: TextBetween or Subfield?</title>
      <link>https://community.qlik.com/t5/QlikView/TextBetween-or-Subfield/m-p/460460#M171903</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You want this&amp;nbsp; "1.0.0.NA" to be present in final data set or you dont want?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 21 Feb 2013 23:43:19 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/TextBetween-or-Subfield/m-p/460460#M171903</guid>
      <dc:creator>phaneendra_kunc</dc:creator>
      <dc:date>2013-02-21T23:43:19Z</dc:date>
    </item>
    <item>
      <title>Re: TextBetween or Subfield?</title>
      <link>https://community.qlik.com/t5/QlikView/TextBetween-or-Subfield/m-p/460461#M171904</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Rob, you're right in most cases, and it does seem to work for the initial data I presented. However, in the examples below (of almost real data) I need to return the bold entries but get 1, 0 and 0 or 1, 1 and 0 for the 3rd and 4th rows. That's why I was thinking of the alternative phrase formatting.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Fieldname = CONCATENATED_SEGMENTS&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;800-All- , YES , &lt;STRONG&gt;COMMON.CC.HUB &lt;/STRONG&gt;, Christ, Jesus , J9 , RAW , DEFAULT.DEFAULT.DEFAULT. , Misc&lt;/P&gt;&lt;P&gt;800-All- , NO , &lt;STRONG&gt;QWBS.RAW.ACU &lt;/STRONG&gt;, RAW , DEFAULT.DEFAULT.DEFAULT. , Misc&lt;/P&gt;&lt;P&gt;755-All- , 1.0.0.NA , NO , &lt;STRONG&gt;COMMON.RAW.FIXED &lt;/STRONG&gt;, OTHR , Powderpuff, Celia , 82 , RAW &lt;/P&gt;&lt;P&gt;QED , 1.1.0.NA , NO , &lt;STRONG&gt;COMMON.WIP. &lt;/STRONG&gt;, RAW , MRO&lt;/P&gt;&lt;P&gt;105-All- , NO , &lt;STRONG&gt;COMMON.RAW. &lt;/STRONG&gt;, Christ, Jesus , J9 , RAW , DEFAULT.DEFAULT.DEFAULT. , MRO&lt;/P&gt;&lt;P&gt;EQM , 100-All- , NO , &lt;STRONG&gt;CORP.WIP.ODU &lt;/STRONG&gt;, Powderpuff, Celia , LV , RAW&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;John&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 22 Feb 2013 00:01:34 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/TextBetween-or-Subfield/m-p/460461#M171904</guid>
      <dc:creator>johnca</dc:creator>
      <dc:date>2013-02-22T00:01:34Z</dc:date>
    </item>
    <item>
      <title>Re: TextBetween or Subfield?</title>
      <link>https://community.qlik.com/t5/QlikView/TextBetween-or-Subfield/m-p/460462#M171905</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Phaneendra,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;No, I need;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Help&lt;/P&gt;&lt;P&gt;Me&lt;/P&gt;&lt;P&gt;FindThis&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please see the previous response to Rob with better examples.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 22 Feb 2013 00:03:21 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/TextBetween-or-Subfield/m-p/460462#M171905</guid>
      <dc:creator>johnca</dc:creator>
      <dc:date>2013-02-22T00:03:21Z</dc:date>
    </item>
    <item>
      <title>Re: TextBetween or Subfield?</title>
      <link>https://community.qlik.com/t5/QlikView/TextBetween-or-Subfield/m-p/460463#M171906</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The default delimiter in an INLINE load is comma. Since you had commas in your data, I had to override to something that wasn't present in your data. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;To start parsing after the second comma, just add this as a load before the LOAD INLINE.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LOAD&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;mid(RawData, index(RawData, ',', 2)) as RawData&lt;/P&gt;&lt;P&gt;;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-Rob&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 22 Feb 2013 01:26:58 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/TextBetween-or-Subfield/m-p/460463#M171906</guid>
      <dc:creator>rwunderlich</dc:creator>
      <dc:date>2013-02-22T01:26:58Z</dc:date>
    </item>
    <item>
      <title>Re: TextBetween or Subfield?</title>
      <link>https://community.qlik.com/t5/QlikView/TextBetween-or-Subfield/m-p/460464#M171907</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;May be you can choose below filter options to get rid of the data you dont need.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In rob's example QVW there is a second LOAD statement where you have to keep these filters&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1.) allow the string that has less than or equal to two dots "."&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;SubStringCount(Phrase,'.') &amp;lt;=2&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LOAD&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Phrase&lt;/P&gt;&lt;P&gt;Where Phrase LIKE '*.*.*'&amp;nbsp;&amp;nbsp;&amp;nbsp; and&amp;nbsp; SubStringCount(Phrase,'.') &amp;lt;=2 ;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2.) Dont allow any string that has numbers. &lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;len(KeepChar(Phrase,'0123456789')) = 0 &lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LOAD&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Phrase&lt;/P&gt;&lt;P&gt;Where Phrase LIKE '*.*.*'&amp;nbsp;&amp;nbsp;&amp;nbsp; and&amp;nbsp; &lt;/P&gt;&lt;P&gt;len(KeepChar(Phrase,'0123456789')) = 0 ;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 22 Feb 2013 04:55:23 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/TextBetween-or-Subfield/m-p/460464#M171907</guid>
      <dc:creator>phaneendra_kunc</dc:creator>
      <dc:date>2013-02-22T04:55:23Z</dc:date>
    </item>
    <item>
      <title>Re: TextBetween or Subfield?</title>
      <link>https://community.qlik.com/t5/QlikView/TextBetween-or-Subfield/m-p/460465#M171908</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;A combination of both yours and Rob's suggested solutions helped, but when I applied the rules to the full dataset I had even more instances where the data had more concatenated segments, and these rules returned them as well. What I ended up doing is using my original nested IF statements, and of the 7,000+ rows it took care of all but 10 of them. I'm fairly certain new entries will cause this to grow, but my hope is the increase is negligable. My customer is happy with the results thus far, and that is the bottom line. If I get more time I'll play with these rules more, or post the additional rows with extra segments.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;All help has been appreciated...I've learned some new tricks.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;--john&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 22 Feb 2013 23:23:35 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/TextBetween-or-Subfield/m-p/460465#M171908</guid>
      <dc:creator>johnca</dc:creator>
      <dc:date>2013-02-22T23:23:35Z</dc:date>
    </item>
  </channel>
</rss>

