<?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: How do I use keep the middle string and nothing else? in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/How-do-I-use-keep-the-middle-string-and-nothing-else/m-p/815989#M662759</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;So all the records within this field will have a similar structure? xxxx-xxxx-xxxx (with xx can vary in number?) If this is the case then Subfield should work for you. If not, then is there any kind of symmetry among the records?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best,&lt;/P&gt;&lt;P&gt;S&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 17 Feb 2015 02:32:35 GMT</pubDate>
    <dc:creator>sunny_talwar</dc:creator>
    <dc:date>2015-02-17T02:32:35Z</dc:date>
    <item>
      <title>How do I use keep the middle string and nothing else?</title>
      <link>https://community.qlik.com/t5/QlikView/How-do-I-use-keep-the-middle-string-and-nothing-else/m-p/815987#M662757</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have a strong of information that looks like: &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ON-1055661-1 &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I want the middle string in order to connect to another database that uses only that part of the data, but I can't figure out how to remove it consistently, since the first and last string can vary greatly. (Not by the number of characters in each, but with what the characters are). &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I tried using subfield '-' so that it looked at each string independently, but there is so much clutter now. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 16 Feb 2015 22:36:54 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-do-I-use-keep-the-middle-string-and-nothing-else/m-p/815987#M662757</guid>
      <dc:creator />
      <dc:date>2015-02-16T22:36:54Z</dc:date>
    </item>
    <item>
      <title>Re: How do I use keep the middle string and nothing else?</title>
      <link>https://community.qlik.com/t5/QlikView/How-do-I-use-keep-the-middle-string-and-nothing-else/m-p/815988#M662758</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;STRONG&gt;Subfield(yourfieldname, '-', 2)&lt;/STRONG&gt; will extract the string within the dashes.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 17 Feb 2015 00:34:33 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-do-I-use-keep-the-middle-string-and-nothing-else/m-p/815988#M662758</guid>
      <dc:creator>Colin-Albert</dc:creator>
      <dc:date>2015-02-17T00:34:33Z</dc:date>
    </item>
    <item>
      <title>Re: How do I use keep the middle string and nothing else?</title>
      <link>https://community.qlik.com/t5/QlikView/How-do-I-use-keep-the-middle-string-and-nothing-else/m-p/815989#M662759</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;So all the records within this field will have a similar structure? xxxx-xxxx-xxxx (with xx can vary in number?) If this is the case then Subfield should work for you. If not, then is there any kind of symmetry among the records?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best,&lt;/P&gt;&lt;P&gt;S&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 17 Feb 2015 02:32:35 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-do-I-use-keep-the-middle-string-and-nothing-else/m-p/815989#M662759</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2015-02-17T02:32:35Z</dc:date>
    </item>
    <item>
      <title>Re: How do I use keep the middle string and nothing else?</title>
      <link>https://community.qlik.com/t5/QlikView/How-do-I-use-keep-the-middle-string-and-nothing-else/m-p/815990#M662760</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;If all the values are in the same format then you can use &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SubField(FieldName, '-', 2)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;OR You can also try &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;TextBetween(FieldName, '-', '-')&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Jagan.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 17 Feb 2015 04:06:20 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-do-I-use-keep-the-middle-string-and-nothing-else/m-p/815990#M662760</guid>
      <dc:creator>jagan</dc:creator>
      <dc:date>2015-02-17T04:06:20Z</dc:date>
    </item>
    <item>
      <title>Re: How do I use keep the middle string and nothing else?</title>
      <link>https://community.qlik.com/t5/QlikView/How-do-I-use-keep-the-middle-string-and-nothing-else/m-p/815991#M662761</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks everyone who answered, the first answer did the trick! &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 17 Feb 2015 15:42:37 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-do-I-use-keep-the-middle-string-and-nothing-else/m-p/815991#M662761</guid>
      <dc:creator />
      <dc:date>2015-02-17T15:42:37Z</dc:date>
    </item>
  </channel>
</rss>

