<?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 Extract string within text in Qlik sense in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/Extract-string-within-text-in-Qlik-sense/m-p/1745732#M57232</link>
    <description>&lt;P&gt;Hi Qlikers,&lt;/P&gt;&lt;P&gt;Here is the scenario where I would need some idea's on-&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have column &lt;STRONG&gt;Description&lt;/STRONG&gt; in one Table and &lt;STRONG&gt;Vendor No&lt;/STRONG&gt; in another Table.&lt;/P&gt;&lt;P&gt;example :-&lt;/P&gt;&lt;P&gt;Description Table&lt;/P&gt;&lt;TABLE border="1" width="100%"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD width="50%" height="25px"&gt;No&lt;/TD&gt;&lt;TD width="50%" height="25px"&gt;Description&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD width="50%" height="25px"&gt;1&lt;/TD&gt;&lt;TD width="50%" height="25px"&gt;R555-10034 Alter state&amp;nbsp;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD width="50%" height="25px"&gt;2&lt;/TD&gt;&lt;TD width="50%" height="25px"&gt;R777-10045 Change state&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD width="50%" height="25px"&gt;3&lt;/TD&gt;&lt;TD width="50%" height="25px"&gt;56785789907909&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Vendor Table&lt;/P&gt;&lt;TABLE border="1" width="100%"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD width="100%"&gt;Vendor No&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD width="100%"&gt;10034&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;45654&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;23435&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD width="100%"&gt;10045&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;So now I have to extract the string from Description Table if it contains the exact vendor No from Vendor Table.&lt;/P&gt;&lt;P&gt;Example : I need to create &lt;STRONG&gt;New Column&lt;/STRONG&gt; as shown below-&lt;/P&gt;&lt;TABLE border="1" width="713px"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD width="356px" height="25px"&gt;No&lt;/TD&gt;&lt;TD width="178px" height="25px"&gt;Description&lt;/TD&gt;&lt;TD width="178px"&gt;&amp;nbsp;&lt;STRONG&gt;New Column&lt;/STRONG&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD width="356px" height="25px"&gt;1&lt;/TD&gt;&lt;TD width="178px" height="25px"&gt;R555-&lt;STRONG&gt;10034&lt;/STRONG&gt; Alter state&amp;nbsp;&lt;/TD&gt;&lt;TD width="178px"&gt;&lt;STRONG&gt;10034&lt;/STRONG&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD width="356px" height="25px"&gt;2&lt;/TD&gt;&lt;TD width="178px" height="25px"&gt;R777-&lt;STRONG&gt;10045&lt;/STRONG&gt; Change state&lt;/TD&gt;&lt;TD width="178px"&gt;&lt;STRONG&gt;10045&lt;/STRONG&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD width="356px" height="25px"&gt;3&lt;/TD&gt;&lt;TD width="178px" height="25px"&gt;56785789907909&lt;/TD&gt;&lt;TD width="178px"&gt;-&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;U&gt;&lt;STRONG&gt;Note :&lt;/STRONG&gt;&lt;/U&gt; Only if Vendor No exist in the description Column it should add to new Column as shown above.&lt;/P&gt;&lt;P&gt;I have also tried this condition- &lt;STRONG&gt;if(wildmatch(Description, Vendor No),Vendor No)&lt;/STRONG&gt;. &lt;EM&gt;This did not work!&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Let me know how to achieve this, have tried out my best!&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks in Advance&lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;&lt;P&gt;LP&lt;/P&gt;</description>
    <pubDate>Sat, 16 Nov 2024 18:04:59 GMT</pubDate>
    <dc:creator>LP27</dc:creator>
    <dc:date>2024-11-16T18:04:59Z</dc:date>
    <item>
      <title>Extract string within text in Qlik sense</title>
      <link>https://community.qlik.com/t5/App-Development/Extract-string-within-text-in-Qlik-sense/m-p/1745732#M57232</link>
      <description>&lt;P&gt;Hi Qlikers,&lt;/P&gt;&lt;P&gt;Here is the scenario where I would need some idea's on-&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have column &lt;STRONG&gt;Description&lt;/STRONG&gt; in one Table and &lt;STRONG&gt;Vendor No&lt;/STRONG&gt; in another Table.&lt;/P&gt;&lt;P&gt;example :-&lt;/P&gt;&lt;P&gt;Description Table&lt;/P&gt;&lt;TABLE border="1" width="100%"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD width="50%" height="25px"&gt;No&lt;/TD&gt;&lt;TD width="50%" height="25px"&gt;Description&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD width="50%" height="25px"&gt;1&lt;/TD&gt;&lt;TD width="50%" height="25px"&gt;R555-10034 Alter state&amp;nbsp;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD width="50%" height="25px"&gt;2&lt;/TD&gt;&lt;TD width="50%" height="25px"&gt;R777-10045 Change state&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD width="50%" height="25px"&gt;3&lt;/TD&gt;&lt;TD width="50%" height="25px"&gt;56785789907909&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Vendor Table&lt;/P&gt;&lt;TABLE border="1" width="100%"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD width="100%"&gt;Vendor No&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD width="100%"&gt;10034&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;45654&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;23435&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD width="100%"&gt;10045&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;So now I have to extract the string from Description Table if it contains the exact vendor No from Vendor Table.&lt;/P&gt;&lt;P&gt;Example : I need to create &lt;STRONG&gt;New Column&lt;/STRONG&gt; as shown below-&lt;/P&gt;&lt;TABLE border="1" width="713px"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD width="356px" height="25px"&gt;No&lt;/TD&gt;&lt;TD width="178px" height="25px"&gt;Description&lt;/TD&gt;&lt;TD width="178px"&gt;&amp;nbsp;&lt;STRONG&gt;New Column&lt;/STRONG&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD width="356px" height="25px"&gt;1&lt;/TD&gt;&lt;TD width="178px" height="25px"&gt;R555-&lt;STRONG&gt;10034&lt;/STRONG&gt; Alter state&amp;nbsp;&lt;/TD&gt;&lt;TD width="178px"&gt;&lt;STRONG&gt;10034&lt;/STRONG&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD width="356px" height="25px"&gt;2&lt;/TD&gt;&lt;TD width="178px" height="25px"&gt;R777-&lt;STRONG&gt;10045&lt;/STRONG&gt; Change state&lt;/TD&gt;&lt;TD width="178px"&gt;&lt;STRONG&gt;10045&lt;/STRONG&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD width="356px" height="25px"&gt;3&lt;/TD&gt;&lt;TD width="178px" height="25px"&gt;56785789907909&lt;/TD&gt;&lt;TD width="178px"&gt;-&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;U&gt;&lt;STRONG&gt;Note :&lt;/STRONG&gt;&lt;/U&gt; Only if Vendor No exist in the description Column it should add to new Column as shown above.&lt;/P&gt;&lt;P&gt;I have also tried this condition- &lt;STRONG&gt;if(wildmatch(Description, Vendor No),Vendor No)&lt;/STRONG&gt;. &lt;EM&gt;This did not work!&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Let me know how to achieve this, have tried out my best!&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks in Advance&lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;&lt;P&gt;LP&lt;/P&gt;</description>
      <pubDate>Sat, 16 Nov 2024 18:04:59 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Extract-string-within-text-in-Qlik-sense/m-p/1745732#M57232</guid>
      <dc:creator>LP27</dc:creator>
      <dc:date>2024-11-16T18:04:59Z</dc:date>
    </item>
    <item>
      <title>Re: Extract string within text in Qlik sense</title>
      <link>https://community.qlik.com/t5/App-Development/Extract-string-within-text-in-Qlik-sense/m-p/1745749#M57233</link>
      <description>&lt;P&gt;Try this&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;VendorMapping:
Mapping
LOAD [Vendor No],
	 '/'&amp;amp;[Vendor No]&amp;amp;'\';
LOAD * INLINE [
    Vendor No
    10034
    45654
    23435
    10045
];

Table:
LOAD *,
	 TextBetween(MapSubString('VendorMapping', Description), '/', '\') as [New Column];
LOAD * INLINE [
    No, Description
    1, R555-10034 Alter state 
    2, R777-10045 Change state
    3, 56785789907909
];&lt;/LI-CODE&gt;</description>
      <pubDate>Mon, 21 Sep 2020 19:02:29 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Extract-string-within-text-in-Qlik-sense/m-p/1745749#M57233</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2020-09-21T19:02:29Z</dc:date>
    </item>
    <item>
      <title>Re: Extract string within text in Qlik sense</title>
      <link>https://community.qlik.com/t5/App-Development/Extract-string-within-text-in-Qlik-sense/m-p/1745851#M57241</link>
      <description>&lt;P&gt;Wow! that solved my issue.&lt;/P&gt;&lt;P&gt;Thanks&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/46628"&gt;@sunny_talwar&lt;/a&gt;&amp;nbsp;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 22 Sep 2020 07:44:55 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Extract-string-within-text-in-Qlik-sense/m-p/1745851#M57241</guid>
      <dc:creator>LP27</dc:creator>
      <dc:date>2020-09-22T07:44:55Z</dc:date>
    </item>
  </channel>
</rss>

