<?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: How to split a String into two columns in Data Quality</title>
    <link>https://community.qlik.com/t5/Data-Quality/How-to-split-a-String-into-two-columns/m-p/2205049#M797</link>
    <description>&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0695b00000F97iXAAR.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/133994i1CD4E332DE5536FE/image-size/large?v=v2&amp;amp;px=999" role="button" title="0695b00000F97iXAAR.png" alt="0695b00000F97iXAAR.png" /&gt;&lt;/span&gt; This is where I wrote the code. I've also tried to write it at the end but it doesn't work.&lt;/P&gt;</description>
    <pubDate>Thu, 27 May 2021 08:59:35 GMT</pubDate>
    <dc:creator>Lara_Zuern</dc:creator>
    <dc:date>2021-05-27T08:59:35Z</dc:date>
    <item>
      <title>How to split a String into two columns</title>
      <link>https://community.qlik.com/t5/Data-Quality/How-to-split-a-String-into-two-columns/m-p/2205045#M793</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'm from Germany and a real newbie on Talend.&lt;/P&gt;&lt;P&gt;For my bachelor thesis I am supposed to test the tool Talend Open Studio for Big Data. Part of my data is stored in a MongoDB. I want to split the string of the attribute machineTime into one column with Date and one with Time. For example, a string looks like this: machineTime: "14.05.2018 : 12:35". How can I implement this?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanx for your help.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Lara&lt;/P&gt;</description>
      <pubDate>Sat, 16 Nov 2024 00:06:53 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Data-Quality/How-to-split-a-String-into-two-columns/m-p/2205045#M793</guid>
      <dc:creator>Lara_Zuern</dc:creator>
      <dc:date>2024-11-16T00:06:53Z</dc:date>
    </item>
    <item>
      <title>Re: How to split a String into two columns</title>
      <link>https://community.qlik.com/t5/Data-Quality/How-to-split-a-String-into-two-columns/m-p/2205046#M794</link>
      <description>&lt;P&gt;So you have to write a code like this in tJavaFlex ( main code )&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;index = machineTime.indexOf(":");&lt;/P&gt;&lt;P&gt;machineDate = machineTime.substring(0,index);&lt;/P&gt;&lt;P&gt;machineNewTime&amp;nbsp; = machineTime&amp;nbsp;.substring(index+1,machineTime.length());&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Now you can create two columns in tJavaFlex schema like machineDate  and machineNewTime or whatever you like&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;and then whatever the output link name is the code will be like this&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;row2.machineDate = machineTime.substring(0,index);&lt;/P&gt;&lt;P&gt;row2.machineNewTime&amp;nbsp; = machineTime&amp;nbsp;.substring(index+1,machineTime.length());&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Let me know in case you need more help&lt;/P&gt;</description>
      <pubDate>Wed, 26 May 2021 13:53:24 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Data-Quality/How-to-split-a-String-into-two-columns/m-p/2205046#M794</guid>
      <dc:creator>Prakhar1</dc:creator>
      <dc:date>2021-05-26T13:53:24Z</dc:date>
    </item>
    <item>
      <title>Re: How to split a String into two columns</title>
      <link>https://community.qlik.com/t5/Data-Quality/How-to-split-a-String-into-two-columns/m-p/2205047#M795</link>
      <description>&lt;P&gt;Hello Prakhar,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you very much for your help. I have now tried the code and every time I get the message that the series machineTime can not be resolved.&amp;nbsp;Any suggestions on this?&lt;/P&gt;</description>
      <pubDate>Thu, 27 May 2021 06:08:23 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Data-Quality/How-to-split-a-String-into-two-columns/m-p/2205047#M795</guid>
      <dc:creator>Lara_Zuern</dc:creator>
      <dc:date>2021-05-27T06:08:23Z</dc:date>
    </item>
    <item>
      <title>Re: How to split a String into two columns</title>
      <link>https://community.qlik.com/t5/Data-Quality/How-to-split-a-String-into-two-columns/m-p/2205048#M796</link>
      <description>&lt;P&gt;Please upload some screenshots to show us where you write the code and which components the job contains. &lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 27 May 2021 07:19:57 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Data-Quality/How-to-split-a-String-into-two-columns/m-p/2205048#M796</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2021-05-27T07:19:57Z</dc:date>
    </item>
    <item>
      <title>Re: How to split a String into two columns</title>
      <link>https://community.qlik.com/t5/Data-Quality/How-to-split-a-String-into-two-columns/m-p/2205049#M797</link>
      <description>&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0695b00000F97iXAAR.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/133994i1CD4E332DE5536FE/image-size/large?v=v2&amp;amp;px=999" role="button" title="0695b00000F97iXAAR.png" alt="0695b00000F97iXAAR.png" /&gt;&lt;/span&gt; This is where I wrote the code. I've also tried to write it at the end but it doesn't work.&lt;/P&gt;</description>
      <pubDate>Thu, 27 May 2021 08:59:35 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Data-Quality/How-to-split-a-String-into-two-columns/m-p/2205049#M797</guid>
      <dc:creator>Lara_Zuern</dc:creator>
      <dc:date>2021-05-27T08:59:35Z</dc:date>
    </item>
    <item>
      <title>Re: How to split a String into two columns</title>
      <link>https://community.qlik.com/t5/Data-Quality/How-to-split-a-String-into-two-columns/m-p/2205050#M798</link>
      <description>&lt;P&gt;See below screenshots,  here are the Java codes on tJavaFlex.&lt;/P&gt;&lt;P&gt;index = row1.machineTime.indexOf(":");&lt;/P&gt;&lt;P&gt;row2.machineDate = row1.machineTime.substring(0,index);&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;row2.machineNewTime&amp;nbsp;= row1.machineTime .substring(index+1,row1.machineTime.length());&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0695b00000F9KsGAAV.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/150784iA21B8F1776F278E2/image-size/large?v=v2&amp;amp;px=999" role="button" title="0695b00000F9KsGAAV.png" alt="0695b00000F9KsGAAV.png" /&gt;&lt;/span&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0695b00000F9KsQAAV.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/144556i7507C4AEB0F81AE7/image-size/large?v=v2&amp;amp;px=999" role="button" title="0695b00000F9KsQAAV.png" alt="0695b00000F9KsQAAV.png" /&gt;&lt;/span&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0695b00000F9KqLAAV.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/131436i57B3C0DC18542711/image-size/large?v=v2&amp;amp;px=999" role="button" title="0695b00000F9KqLAAV.png" alt="0695b00000F9KqLAAV.png" /&gt;&lt;/span&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 28 May 2021 09:10:53 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Data-Quality/How-to-split-a-String-into-two-columns/m-p/2205050#M798</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2021-05-28T09:10:53Z</dc:date>
    </item>
    <item>
      <title>Re: How to split a String into two columns</title>
      <link>https://community.qlik.com/t5/Data-Quality/How-to-split-a-String-into-two-columns/m-p/2205051#M799</link>
      <description>&lt;P&gt;Hello again,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I tried it the way you said. &lt;/P&gt;&lt;P&gt;With your setup, it worked. Then I tried it with my data from MongoDB (screenshots follow). First I only read the variable machineTime from MongoDB. Now I always get the following error message after running the job:Here is the complete structure of my job:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 31 May 2021 06:22:00 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Data-Quality/How-to-split-a-String-into-two-columns/m-p/2205051#M799</guid>
      <dc:creator>Lara_Zuern</dc:creator>
      <dc:date>2021-05-31T06:22:00Z</dc:date>
    </item>
    <item>
      <title>Re: How to split a String into two columns</title>
      <link>https://community.qlik.com/t5/Data-Quality/How-to-split-a-String-into-two-columns/m-p/2205052#M800</link>
      <description>&lt;P&gt;What is the error message? You forgot to upload the screenshots.&lt;/P&gt;</description>
      <pubDate>Mon, 31 May 2021 11:55:44 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Data-Quality/How-to-split-a-String-into-two-columns/m-p/2205052#M800</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2021-05-31T11:55:44Z</dc:date>
    </item>
    <item>
      <title>Re: How to split a String into two columns</title>
      <link>https://community.qlik.com/t5/Data-Quality/How-to-split-a-String-into-two-columns/m-p/2205053#M801</link>
      <description>&lt;P&gt;Thank you, I had not even noticed.&lt;/P&gt;&lt;P&gt;Here we go.&lt;span class="lia-inline-image-display-wrapper" image-alt="0695b00000F9ejOAAR.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/144081iA56303D82673D4F6/image-size/large?v=v2&amp;amp;px=999" role="button" title="0695b00000F9ejOAAR.png" alt="0695b00000F9ejOAAR.png" /&gt;&lt;/span&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0695b00000F9eTTAAZ.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/152627iF3DA5252DA56AE1C/image-size/large?v=v2&amp;amp;px=999" role="button" title="0695b00000F9eTTAAZ.png" alt="0695b00000F9eTTAAZ.png" /&gt;&lt;/span&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0695b00000F9ejYAAR.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/142384i99779766B39672EF/image-size/large?v=v2&amp;amp;px=999" role="button" title="0695b00000F9ejYAAR.png" alt="0695b00000F9ejYAAR.png" /&gt;&lt;/span&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0695b00000F9ejsAAB.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/151505i0A9D5A51E959E9C8/image-size/large?v=v2&amp;amp;px=999" role="button" title="0695b00000F9ejsAAB.png" alt="0695b00000F9ejsAAB.png" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 31 May 2021 12:16:41 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Data-Quality/How-to-split-a-String-into-two-columns/m-p/2205053#M801</guid>
      <dc:creator>Lara_Zuern</dc:creator>
      <dc:date>2021-05-31T12:16:41Z</dc:date>
    </item>
  </channel>
</rss>

