<?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 delimited data within CSV fields (single and iterative) in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/Extract-delimited-data-within-CSV-fields-single-and-iterative/m-p/2368543#M131795</link>
    <description>&lt;P&gt;Hi  &lt;/P&gt;&lt;P&gt;I think you need to add row number to each line, and then do a join to merge all columns after you extract fields using tExtractDelimitedFields from the string  such as "LastName|FirstName|MiddleName|Prefix|Suffix|Crredential".&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>Mon, 27 Sep 2021 01:01:52 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2021-09-27T01:01:52Z</dc:date>
    <item>
      <title>Extract delimited data within CSV fields (single and iterative)</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Extract-delimited-data-within-CSV-fields-single-and-iterative/m-p/2368542#M131794</link>
      <description>&lt;P&gt;I'm new to Talend so hopefully, this is not a total basic situation.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have two similar scenarios so I'm listing them together.&lt;/P&gt;&lt;P&gt;Both originate from the same CSV file but involved different columns.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Overall, data is coming in like this:&lt;/P&gt;&lt;P&gt; &amp;nbsp; &amp;nbsp;"Field1","Field2","LastName|FirstName|MiddleName|Prefix|Suffix|Crredential","AddrLine1|AddrLine2|City|State|Zip$&lt;/P&gt;&lt;P&gt;AddrLine1|AddrLine2|City|State|Zip$...&lt;/P&gt;","Field3"&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The &lt;U&gt;first scenario&lt;/U&gt; is added parsed data from the name field (the field that starts with "LastName") &lt;/P&gt;&lt;P&gt;The desired output for the first scenario is to add the individual columns to the output row&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The &lt;U&gt;second scenario&lt;/U&gt; is the address field (starts with "AddrLine1") which is the same situation PLUS, &lt;/P&gt;&lt;P&gt;this address field can repeat infinitely (noted by the '$')&lt;/P&gt;&lt;P&gt;The desired output here is to generate a separate list that is keyed off of "Field1" so I can create a separate dimension with this informatin.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;B&gt;&lt;U&gt;First scenario Details&lt;/U&gt;&lt;/B&gt;&lt;/P&gt;&lt;P&gt; &amp;nbsp; &amp;nbsp;The Name column is subdivided with pipe delimiters and looks like this (as noted above):&lt;/P&gt;&lt;P&gt; &amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;"LastName|FirstName|MiddleName|Prefix|Suffix|Crredential"&lt;/P&gt;&lt;P&gt; &amp;nbsp; &amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; &amp;nbsp; &amp;nbsp;Presently I have the Delimited file defined in the metadata with the data successfully being loaded&lt;/P&gt;&lt;P&gt; &amp;nbsp; &amp;nbsp;&lt;B&gt;&lt;U&gt;Goal&lt;/U&gt;&lt;/B&gt;: I would like to add the columns within the Name data column added to my output schema&lt;/P&gt;&lt;P&gt; &amp;nbsp; &amp;nbsp;I've tried Extract Delimited file but the first field is being parsed out by character, not by pipe delimeter&lt;/P&gt;&lt;P&gt; &amp;nbsp; &amp;nbsp;&lt;span class="lia-inline-image-display-wrapper" image-alt="0695b00000JMjbRAAT.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/148581i6E77C4529188B902/image-size/large?v=v2&amp;amp;px=999" role="button" title="0695b00000JMjbRAAT.png" alt="0695b00000JMjbRAAT.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt; &amp;nbsp; &amp;nbsp;&lt;span class="lia-inline-image-display-wrapper" image-alt="0695b00000JMjblAAD.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/128729i37F300B5187A0DAA/image-size/large?v=v2&amp;amp;px=999" role="button" title="0695b00000JMjblAAD.png" alt="0695b00000JMjblAAD.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt; &amp;nbsp; &amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;B&gt;&lt;U&gt;Second scenario Details&lt;/U&gt;&lt;/B&gt;&lt;/P&gt;&lt;P&gt; &amp;nbsp; &amp;nbsp;I've tried to create a structure, map with the intent of using tHmap but not having any luck.&lt;/P&gt;&lt;P&gt; &amp;nbsp; &amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; &amp;nbsp; &amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any help would be appreciated.&lt;/P&gt;&lt;P&gt;If these are better suited as separate asks I'm happy to create individual asks.&lt;/P&gt;&lt;P&gt; &amp;nbsp; &amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; &amp;nbsp; &amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; &amp;nbsp; &amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 15 Nov 2024 23:41:42 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Extract-delimited-data-within-CSV-fields-single-and-iterative/m-p/2368542#M131794</guid>
      <dc:creator>McDon</dc:creator>
      <dc:date>2024-11-15T23:41:42Z</dc:date>
    </item>
    <item>
      <title>Re: Extract delimited data within CSV fields (single and iterative)</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Extract-delimited-data-within-CSV-fields-single-and-iterative/m-p/2368543#M131795</link>
      <description>&lt;P&gt;Hi  &lt;/P&gt;&lt;P&gt;I think you need to add row number to each line, and then do a join to merge all columns after you extract fields using tExtractDelimitedFields from the string  such as "LastName|FirstName|MiddleName|Prefix|Suffix|Crredential".&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>Mon, 27 Sep 2021 01:01:52 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Extract-delimited-data-within-CSV-fields-single-and-iterative/m-p/2368543#M131795</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2021-09-27T01:01:52Z</dc:date>
    </item>
  </channel>
</rss>

