<?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 getting just 12345 from the below text. Attunity replicate global transformations in Qlik Replicate</title>
    <link>https://community.qlik.com/t5/Qlik-Replicate/getting-just-12345-from-the-below-text-Attunity-replicate-global/m-p/2125296#M7551</link>
    <description>&lt;P&gt;I have a text message abc:abc678:12345. the length of the text will vary for different texts. I want to get all the text before the second special character":"&lt;/P&gt;
&lt;P&gt;2 Examples below:&lt;/P&gt;
&lt;P&gt;abc:abc678:12345&lt;/P&gt;
&lt;P&gt;I want-&amp;gt; abc:abc678&lt;/P&gt;
&lt;P&gt;kit:kit6789:12345&lt;/P&gt;
&lt;P&gt;I want-&amp;gt; kit:kit6789&lt;/P&gt;</description>
    <pubDate>Wed, 04 Oct 2023 21:45:02 GMT</pubDate>
    <dc:creator>kamal0475</dc:creator>
    <dc:date>2023-10-04T21:45:02Z</dc:date>
    <item>
      <title>getting just 12345 from the below text. Attunity replicate global transformations</title>
      <link>https://community.qlik.com/t5/Qlik-Replicate/getting-just-12345-from-the-below-text-Attunity-replicate-global/m-p/2125296#M7551</link>
      <description>&lt;P&gt;I have a text message abc:abc678:12345. the length of the text will vary for different texts. I want to get all the text before the second special character":"&lt;/P&gt;
&lt;P&gt;2 Examples below:&lt;/P&gt;
&lt;P&gt;abc:abc678:12345&lt;/P&gt;
&lt;P&gt;I want-&amp;gt; abc:abc678&lt;/P&gt;
&lt;P&gt;kit:kit6789:12345&lt;/P&gt;
&lt;P&gt;I want-&amp;gt; kit:kit6789&lt;/P&gt;</description>
      <pubDate>Wed, 04 Oct 2023 21:45:02 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Qlik-Replicate/getting-just-12345-from-the-below-text-Attunity-replicate-global/m-p/2125296#M7551</guid>
      <dc:creator>kamal0475</dc:creator>
      <dc:date>2023-10-04T21:45:02Z</dc:date>
    </item>
    <item>
      <title>Re: getting just 12345 from the below text. Attunity replicate global transformations</title>
      <link>https://community.qlik.com/t5/Qlik-Replicate/getting-just-12345-from-the-below-text-Attunity-replicate-global/m-p/2125309#M7552</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/152267"&gt;@kamal0475&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;This could potentially be a solution. AFAIK, SQLite does not support finding the nth occurrence of a string using INSTR function. So it becomes a bit complicated.&lt;/P&gt;
&lt;P&gt;substr($FIRSTNME,1, instr($FIRSTNME, ':'))||substr((substr($FIRSTNME,instr($FIRSTNME, ':') + 1)),1, instr((substr($FIRSTNME,instr($FIRSTNME, ':') + 1)), ':') - 1)&lt;/P&gt;
&lt;P&gt;Replace $FIRSTNME with your column. All the best.&lt;/P&gt;</description>
      <pubDate>Wed, 04 Oct 2023 23:28:18 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Qlik-Replicate/getting-just-12345-from-the-below-text-Attunity-replicate-global/m-p/2125309#M7552</guid>
      <dc:creator>jcjames</dc:creator>
      <dc:date>2023-10-04T23:28:18Z</dc:date>
    </item>
    <item>
      <title>Re: getting just 12345 from the below text. Attunity replicate global transformations</title>
      <link>https://community.qlik.com/t5/Qlik-Replicate/getting-just-12345-from-the-below-text-Attunity-replicate-global/m-p/2125333#M7555</link>
      <description>&lt;P&gt;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/148784"&gt;@jcjames&lt;/a&gt;&amp;nbsp;Yes, you have to pick up pieces.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;But it can be simplified to :&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;substr($FIRSTNME,1, 
       instr($FIRSTNME, ':') +
       instr(
       substr($FIRSTNME,instr($FIRSTNME, ':')+1,99), ":") -1)&lt;/LI-CODE&gt;
&lt;P&gt;What I do hear is to calculate the length f the desired section taking the length of the first chunk (with its colon) and add&amp;nbsp; the place of the second colon found in&amp;nbsp; a second chunk.&amp;nbsp; That second chunk is an&amp;nbsp; 'everything' - simplified to 99 - substring from the main starting at&amp;nbsp; end of the first colon (substr).&amp;nbsp; Subtract 1 for the colon itself.&lt;/P&gt;
&lt;P&gt;Seems to work for me!&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 05 Oct 2023 03:27:45 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Qlik-Replicate/getting-just-12345-from-the-below-text-Attunity-replicate-global/m-p/2125333#M7555</guid>
      <dc:creator>Heinvandenheuvel</dc:creator>
      <dc:date>2023-10-05T03:27:45Z</dc:date>
    </item>
    <item>
      <title>Re: getting just 12345 from the below text. Attunity replicate global transformations</title>
      <link>https://community.qlik.com/t5/Qlik-Replicate/getting-just-12345-from-the-below-text-Attunity-replicate-global/m-p/2125754#M7565</link>
      <description>&lt;P&gt;Thank you&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/148784"&gt;@jcjames&lt;/a&gt;&amp;nbsp; the solution worked.&lt;/P&gt;</description>
      <pubDate>Thu, 05 Oct 2023 17:45:19 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Qlik-Replicate/getting-just-12345-from-the-below-text-Attunity-replicate-global/m-p/2125754#M7565</guid>
      <dc:creator>kamal0475</dc:creator>
      <dc:date>2023-10-05T17:45:19Z</dc:date>
    </item>
    <item>
      <title>Re: getting just 12345 from the below text. Attunity replicate global transformations</title>
      <link>https://community.qlik.com/t5/Qlik-Replicate/getting-just-12345-from-the-below-text-Attunity-replicate-global/m-p/2125755#M7566</link>
      <description>&lt;P&gt;Thank you&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/110970"&gt;@Heinvandenheuvel&lt;/a&gt;&amp;nbsp;. The solution worked and very simple to understand. Thank you both.&lt;/P&gt;</description>
      <pubDate>Thu, 05 Oct 2023 17:46:10 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Qlik-Replicate/getting-just-12345-from-the-below-text-Attunity-replicate-global/m-p/2125755#M7566</guid>
      <dc:creator>kamal0475</dc:creator>
      <dc:date>2023-10-05T17:46:10Z</dc:date>
    </item>
  </channel>
</rss>

