<?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: Using Wildmatch() to extract Words in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Using-Wildmatch-to-extract-Words/m-p/1014398#M925653</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Or like this, with a customizables stop character:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Let vStop = chr(39)&amp;amp;','&amp;amp;chr(39); //comma denotes break&lt;/P&gt;&lt;P&gt;//Let vStop = Chr(39)&amp;amp;chr(39); //digest to the end of label&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Table:&lt;/P&gt;&lt;P&gt;LOAD Lable,&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp; TextBetween(Lable &amp;amp; $(vStop),'cust_',$(vStop)) as Customer_Stefan, &lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; If(WildMatch(Lable, '*cust_*'), SubField(Lable, 'cust_', 2)) as Customer_Rob,&lt;/P&gt;&lt;P&gt;&amp;nbsp; If(WildMatch(Lable, '*cust_*'), Left(SubField(Lable, 'cust_', 2), 3)) as Customer_Sunny;&lt;/P&gt;&lt;P&gt;LOAD * Inline [&lt;/P&gt;&lt;P&gt;Lable&lt;/P&gt;&lt;P&gt;03/02/2016 dfdfd, dgfidgfid, cust_abc&lt;/P&gt;&lt;P&gt;03/02/2016 dfdfd, dgfidgfid, cust_art, gdeugd&lt;/P&gt;&lt;P&gt;03/02/2016 dfdfd, dgfidgfid, nocust&lt;/P&gt;&lt;P&gt;] (delimiter is |);&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 12 Apr 2016 08:36:58 GMT</pubDate>
    <dc:creator>swuehl</dc:creator>
    <dc:date>2016-04-12T08:36:58Z</dc:date>
    <item>
      <title>Using Wildmatch() to extract Words</title>
      <link>https://community.qlik.com/t5/QlikView/Using-Wildmatch-to-extract-Words/m-p/1014394#M925649</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 have sentences in my column called labels.&lt;/P&gt;&lt;P&gt;ex - &lt;/P&gt;&lt;P&gt;03/02/2016 dfdfd, dgfidgfid, cust_abc&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;03/02/2016 dfdfd, dgfidgfid, cust_art, gdeugd&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I want to get the word "cust_*" and split it "_" and get the 2nd potion.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ex - cust_abc ---&amp;gt; abc&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm using below sysntax&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; If(WildMatch(Lable, 'cust_'), SubField(Lable, 'cust_', 2),'aaa') as Customer&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;but it always gives 'aaa'&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Nov 2020 16:16:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Using-Wildmatch-to-extract-Words/m-p/1014394#M925649</guid>
      <dc:creator>anuradhaa</dc:creator>
      <dc:date>2020-11-25T16:16:04Z</dc:date>
    </item>
    <item>
      <title>Re: Using Wildmatch() to extract Words</title>
      <link>https://community.qlik.com/t5/QlikView/Using-Wildmatch-to-extract-Words/m-p/1014395#M925650</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;try&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;&lt;STRONG&gt;&lt;EM&gt;If(WildMatch(lower(Lable), 'cust_*'), SubField(Lable, '_', 2),'aaa') as Customer&lt;/EM&gt;&lt;/STRONG&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; font-size: 13px;"&gt;&lt;STRONG&gt;&lt;EM&gt;&lt;BR /&gt;&lt;/EM&gt;&lt;/STRONG&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; font-size: 13px;"&gt;&lt;STRONG&gt;&lt;EM&gt;or&lt;/EM&gt;&lt;/STRONG&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; font-size: 13px;"&gt;&lt;STRONG&gt;&lt;EM&gt;&lt;BR /&gt;&lt;/EM&gt;&lt;/STRONG&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; font-size: 13px;"&gt;&lt;STRONG&gt;&lt;EM&gt;&lt;BR /&gt;&lt;/EM&gt;&lt;/STRONG&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; font-size: 13px;"&gt;&lt;STRONG&gt;&lt;EM&gt;if( &lt;STRONG style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;&lt;EM&gt;lower(Lable) like 'cust_*', &lt;STRONG style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;&lt;EM&gt;SubField(Lable, '_', 2),'aaa') as Customer&lt;/EM&gt;&lt;/STRONG&gt;&lt;/EM&gt;&lt;/STRONG&gt;&lt;BR /&gt;&lt;/EM&gt;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 12 Apr 2016 06:46:52 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Using-Wildmatch-to-extract-Words/m-p/1014395#M925650</guid>
      <dc:creator>Kushal_Chawda</dc:creator>
      <dc:date>2016-04-12T06:46:52Z</dc:date>
    </item>
    <item>
      <title>Re: Using Wildmatch() to extract Words</title>
      <link>https://community.qlik.com/t5/QlikView/Using-Wildmatch-to-extract-Words/m-p/1014396#M925651</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; font-size: 13px;"&gt;If(WildMatch(Lable, '*cust_*'), SubField(Lable, 'cust_', 2)) as Customer&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&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; font-size: 13px;"&gt;-Rob&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 12 Apr 2016 07:11:24 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Using-Wildmatch-to-extract-Words/m-p/1014396#M925651</guid>
      <dc:creator>rwunderlich</dc:creator>
      <dc:date>2016-04-12T07:11:24Z</dc:date>
    </item>
    <item>
      <title>Re: Using Wildmatch() to extract Words</title>
      <link>https://community.qlik.com/t5/QlikView/Using-Wildmatch-to-extract-Words/m-p/1014397#M925652</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Not sure if you need everything after cust_ or just the three letters or if the stuff after cust_ is variable, but I used Rob's code and tried make minor modification to pick only left 3 letters. May be this is not what you want, but I thought I would still share &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Table:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;LOAD Lable,&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp; If(WildMatch(Lable, '*cust_*'), SubField(Lable, 'cust_', 2)) as Customer_Rob,&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp; If(WildMatch(Lable, '*cust_*'), Left(SubField(Lable, 'cust_', 2), 3)) as Customer_Sunny;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;LOAD * Inline [&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Lable&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;03/02/2016 dfdfd, dgfidgfid, cust_abc&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;03/02/2016 dfdfd, dgfidgfid, cust_art, gdeugd&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;] (delimiter is |);&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Capture.PNG" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/121318_Capture.PNG" style="height: auto;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 12 Apr 2016 08:26:02 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Using-Wildmatch-to-extract-Words/m-p/1014397#M925652</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2016-04-12T08:26:02Z</dc:date>
    </item>
    <item>
      <title>Re: Using Wildmatch() to extract Words</title>
      <link>https://community.qlik.com/t5/QlikView/Using-Wildmatch-to-extract-Words/m-p/1014398#M925653</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Or like this, with a customizables stop character:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Let vStop = chr(39)&amp;amp;','&amp;amp;chr(39); //comma denotes break&lt;/P&gt;&lt;P&gt;//Let vStop = Chr(39)&amp;amp;chr(39); //digest to the end of label&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Table:&lt;/P&gt;&lt;P&gt;LOAD Lable,&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp; TextBetween(Lable &amp;amp; $(vStop),'cust_',$(vStop)) as Customer_Stefan, &lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; If(WildMatch(Lable, '*cust_*'), SubField(Lable, 'cust_', 2)) as Customer_Rob,&lt;/P&gt;&lt;P&gt;&amp;nbsp; If(WildMatch(Lable, '*cust_*'), Left(SubField(Lable, 'cust_', 2), 3)) as Customer_Sunny;&lt;/P&gt;&lt;P&gt;LOAD * Inline [&lt;/P&gt;&lt;P&gt;Lable&lt;/P&gt;&lt;P&gt;03/02/2016 dfdfd, dgfidgfid, cust_abc&lt;/P&gt;&lt;P&gt;03/02/2016 dfdfd, dgfidgfid, cust_art, gdeugd&lt;/P&gt;&lt;P&gt;03/02/2016 dfdfd, dgfidgfid, nocust&lt;/P&gt;&lt;P&gt;] (delimiter is |);&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 12 Apr 2016 08:36:58 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Using-Wildmatch-to-extract-Words/m-p/1014398#M925653</guid>
      <dc:creator>swuehl</dc:creator>
      <dc:date>2016-04-12T08:36:58Z</dc:date>
    </item>
  </channel>
</rss>

