<?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: Extract the string after the first space in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/Extract-the-string-after-the-first-space/m-p/2339560#M107690</link>
    <description>&lt;P&gt;Thanks for the help @Shicong Hong​, it will be useful if I encounter this case in a tMap.&lt;/P&gt;&lt;P&gt;But I forgot to mention that I am looking to do this in a tWarn! In the context of a joblet, I use a context variable where the first word is always the same, but depending on the job, the second word varies.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I tried that, but without success&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0695b00000bEDSoAAO.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/151744i4495DAF3886FDA0A/image-size/large?v=v2&amp;amp;px=999" role="button" title="0695b00000bEDSoAAO.png" alt="0695b00000bEDSoAAO.png" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
    <pubDate>Thu, 22 Dec 2022 13:18:02 GMT</pubDate>
    <dc:creator>stephbzr</dc:creator>
    <dc:date>2022-12-22T13:18:02Z</dc:date>
    <item>
      <title>Extract the string after the first space</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Extract-the-string-after-the-first-space/m-p/2339558#M107688</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I can't find a java method that allows me to extract the whole string after the first space. For example, I have strings :&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;- word1 word2 word3&lt;/P&gt;&lt;P&gt;or&amp;nbsp;&lt;/P&gt;&lt;P&gt;- word1 word 2&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I want to have&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;- word2 word3&lt;/P&gt;&lt;P&gt;or&amp;nbsp;&lt;/P&gt;&lt;P&gt;- word2&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you&lt;/P&gt;</description>
      <pubDate>Fri, 15 Nov 2024 22:15:14 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Extract-the-string-after-the-first-space/m-p/2339558#M107688</guid>
      <dc:creator>stephbzr</dc:creator>
      <dc:date>2024-11-15T22:15:14Z</dc:date>
    </item>
    <item>
      <title>Re: Extract the string after the first space</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Extract-the-string-after-the-first-space/m-p/2339559#M107689</link>
      <description>&lt;P&gt;try this&lt;/P&gt;&lt;P&gt;row1.name.contains(" ")?row1.name.substring(row1.indexOf(" ")+1):""&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;// this expression is used to check if the string contains blank space? if yes, extract the whole string after the first space, if no, return an empty string.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Shong&lt;/P&gt;</description>
      <pubDate>Thu, 22 Dec 2022 11:39:52 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Extract-the-string-after-the-first-space/m-p/2339559#M107689</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2022-12-22T11:39:52Z</dc:date>
    </item>
    <item>
      <title>Re: Extract the string after the first space</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Extract-the-string-after-the-first-space/m-p/2339560#M107690</link>
      <description>&lt;P&gt;Thanks for the help @Shicong Hong​, it will be useful if I encounter this case in a tMap.&lt;/P&gt;&lt;P&gt;But I forgot to mention that I am looking to do this in a tWarn! In the context of a joblet, I use a context variable where the first word is always the same, but depending on the job, the second word varies.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I tried that, but without success&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0695b00000bEDSoAAO.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/151744i4495DAF3886FDA0A/image-size/large?v=v2&amp;amp;px=999" role="button" title="0695b00000bEDSoAAO.png" alt="0695b00000bEDSoAAO.png" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 22 Dec 2022 13:18:02 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Extract-the-string-after-the-first-space/m-p/2339560#M107690</guid>
      <dc:creator>stephbzr</dc:creator>
      <dc:date>2022-12-22T13:18:02Z</dc:date>
    </item>
    <item>
      <title>Re: Extract the string after the first space</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Extract-the-string-after-the-first-space/m-p/2339561#M107691</link>
      <description>&lt;P&gt;I finally used your solution with tMap because I'm not sure if it works with tWarn. Thanks&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0695b00000bEDhxAAG.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/134056iB00DB5328B516AA4/image-size/large?v=v2&amp;amp;px=999" role="button" title="0695b00000bEDhxAAG.png" alt="0695b00000bEDhxAAG.png" /&gt;&lt;/span&gt;﻿&lt;span class="lia-inline-image-display-wrapper" image-alt="0695b00000bEE1nAAG.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/136322i6F56172614AA29AA/image-size/large?v=v2&amp;amp;px=999" role="button" title="0695b00000bEE1nAAG.png" alt="0695b00000bEE1nAAG.png" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 22 Dec 2022 13:39:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Extract-the-string-after-the-first-space/m-p/2339561#M107691</guid>
      <dc:creator>stephbzr</dc:creator>
      <dc:date>2022-12-22T13:39:04Z</dc:date>
    </item>
    <item>
      <title>Re: Extract the string after the first space</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Extract-the-string-after-the-first-space/m-p/2339562#M107692</link>
      <description>&lt;P&gt;I would use regex expressions to do that. There is a component tExtractRegexFields to handle regex.&lt;/P&gt;</description>
      <pubDate>Thu, 22 Dec 2022 20:04:58 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Extract-the-string-after-the-first-space/m-p/2339562#M107692</guid>
      <dc:creator>jlolling</dc:creator>
      <dc:date>2022-12-22T20:04:58Z</dc:date>
    </item>
  </channel>
</rss>

