<?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 How to replicate sql subscript function in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/How-to-replicate-sql-subscript-function/m-p/2485178#M141345</link>
    <description>&lt;P&gt;Hi.&lt;/P&gt;
&lt;P&gt;I have a T-sql subscript statement as:&lt;/P&gt;
&lt;P&gt;&lt;FONT color="#FF0000"&gt;substring('StrA',1,charindex(' ','StrA')-1)&lt;/FONT&gt;&amp;nbsp;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;How do I make that work in Talend tMap component?&lt;/P&gt;
&lt;P&gt;Thank you for your suggestions.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Thu, 03 Oct 2024 19:02:27 GMT</pubDate>
    <dc:creator>himanshup</dc:creator>
    <dc:date>2024-10-03T19:02:27Z</dc:date>
    <item>
      <title>How to replicate sql subscript function</title>
      <link>https://community.qlik.com/t5/Talend-Studio/How-to-replicate-sql-subscript-function/m-p/2485178#M141345</link>
      <description>&lt;P&gt;Hi.&lt;/P&gt;
&lt;P&gt;I have a T-sql subscript statement as:&lt;/P&gt;
&lt;P&gt;&lt;FONT color="#FF0000"&gt;substring('StrA',1,charindex(' ','StrA')-1)&lt;/FONT&gt;&amp;nbsp;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;How do I make that work in Talend tMap component?&lt;/P&gt;
&lt;P&gt;Thank you for your suggestions.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 03 Oct 2024 19:02:27 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/How-to-replicate-sql-subscript-function/m-p/2485178#M141345</guid>
      <dc:creator>himanshup</dc:creator>
      <dc:date>2024-10-03T19:02:27Z</dc:date>
    </item>
    <item>
      <title>Re: How to replicate sql subscript function</title>
      <link>https://community.qlik.com/t5/Talend-Studio/How-to-replicate-sql-subscript-function/m-p/2485688#M141353</link>
      <description>&lt;P&gt;Hi,&amp;nbsp;&lt;/P&gt;
&lt;P&gt;you have to connect an input flow to tMap, then you drag your field onto output flow field.&lt;/P&gt;
&lt;P&gt;In output field you can use the follow code:&lt;/P&gt;
&lt;P&gt;&lt;EM&gt;StringHandling.LEFT(row1.field1, StringHandling.INDEX(row1.field1," "));&lt;/EM&gt;&lt;/P&gt;
&lt;P&gt;where row1.field1 is the field to process as your string 'StrA'.&lt;/P&gt;
&lt;P&gt;In attachments you can see a simulation and the output in log (see tFixedInput as a SQL Server input component, field1 as a field of SQL Server record).&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I hope I understood well and this is useful for you.&lt;/P&gt;</description>
      <pubDate>Mon, 07 Oct 2024 17:40:29 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/How-to-replicate-sql-subscript-function/m-p/2485688#M141353</guid>
      <dc:creator>fcolagiacomo</dc:creator>
      <dc:date>2024-10-07T17:40:29Z</dc:date>
    </item>
    <item>
      <title>Re: How to replicate sql subscript function</title>
      <link>https://community.qlik.com/t5/Talend-Studio/How-to-replicate-sql-subscript-function/m-p/2485692#M141354</link>
      <description>&lt;DIV style="background-color: #ffffff; padding: 0px 0px 0px 0px;"&gt;
&lt;DIV style="color: #000000; background-color: #ffffff; font-family: 'Consolas'; font-size: 10pt; white-space: pre-wrap;"&gt;
&lt;P style="margin: 0;"&gt;&lt;SPAN&gt;This code will work with also string without spaces:&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="margin: 0;"&gt;&amp;nbsp;&lt;/P&gt;
&lt;P style="margin: 0;"&gt;&lt;EM&gt;StringHandling.INDEX(row1.field1," ") &amp;gt; 0 ?&lt;/EM&gt;&lt;/P&gt;
&lt;P style="margin: 0;"&gt;&lt;EM&gt; StringHandling.LEFT(row1.field1, StringHandling.INDEX(row1.field1," "))&lt;/EM&gt;&lt;/P&gt;
&lt;P style="margin: 0;"&gt;&lt;EM&gt;:&lt;/EM&gt;&lt;/P&gt;
&lt;P style="margin: 0;"&gt;&lt;EM&gt;""&lt;/EM&gt;&lt;/P&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;</description>
      <pubDate>Mon, 07 Oct 2024 17:59:37 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/How-to-replicate-sql-subscript-function/m-p/2485692#M141354</guid>
      <dc:creator>fcolagiacomo</dc:creator>
      <dc:date>2024-10-07T17:59:37Z</dc:date>
    </item>
  </channel>
</rss>

