<?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 [resolved] How To Validate Delimiters in Row Using tFileInputFullRow component in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/resolved-How-To-Validate-Delimiters-in-Row-Using/m-p/2267666#M46474</link>
    <description>Hi 
&lt;BR /&gt;I am having files with different type of delimiters, i don`t know where and which file has delimiter issue, for that i am creating Job, which reads file in full row mode and then checking how many delimiters we have in a row, using delimiter count tjavaRow comp. and storing that delimiter count in a context variable to used in tMap to out put the row. 
&lt;BR /&gt;my job is look like this:
&lt;BR /&gt;tFileList----TFileInputFullRow ---tJavaRow------------- tMap-----------tFileOutPutPositionall (Good Records)
&lt;BR /&gt; |
&lt;BR /&gt; |
&lt;BR /&gt; tFileOutPutPositionall (Bad Records)
&lt;BR /&gt;in tJavaRow code 
&lt;BR /&gt;context.vDelCount = line.Split(delimiter).length;
&lt;BR /&gt;in tMap 
&lt;BR /&gt;I have created two out put one is for good and second one is for Bad using 
&lt;BR /&gt;context.vDelCount ==defaultCount then send to good 
&lt;BR /&gt;context.vDelCount !=defaultCount then send to bad
&lt;BR /&gt;but some file delimiter is in " " quoted string i am able how to figured it out and resolve this issue. some times file has nested quoted string like below 
&lt;BR /&gt;" some |text " inner|text " "|xyz string|pqr string"|""
&lt;BR /&gt;is there any way to put text qualifier and quoted string in tFileInputFullRow?
&lt;BR /&gt;please suggest how to parse above row to validate the delimiter count as well nested quoted string issue.</description>
    <pubDate>Mon, 23 Jul 2012 13:07:39 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2012-07-23T13:07:39Z</dc:date>
    <item>
      <title>[resolved] How To Validate Delimiters in Row Using tFileInputFullRow component</title>
      <link>https://community.qlik.com/t5/Talend-Studio/resolved-How-To-Validate-Delimiters-in-Row-Using/m-p/2267666#M46474</link>
      <description>Hi 
&lt;BR /&gt;I am having files with different type of delimiters, i don`t know where and which file has delimiter issue, for that i am creating Job, which reads file in full row mode and then checking how many delimiters we have in a row, using delimiter count tjavaRow comp. and storing that delimiter count in a context variable to used in tMap to out put the row. 
&lt;BR /&gt;my job is look like this:
&lt;BR /&gt;tFileList----TFileInputFullRow ---tJavaRow------------- tMap-----------tFileOutPutPositionall (Good Records)
&lt;BR /&gt; |
&lt;BR /&gt; |
&lt;BR /&gt; tFileOutPutPositionall (Bad Records)
&lt;BR /&gt;in tJavaRow code 
&lt;BR /&gt;context.vDelCount = line.Split(delimiter).length;
&lt;BR /&gt;in tMap 
&lt;BR /&gt;I have created two out put one is for good and second one is for Bad using 
&lt;BR /&gt;context.vDelCount ==defaultCount then send to good 
&lt;BR /&gt;context.vDelCount !=defaultCount then send to bad
&lt;BR /&gt;but some file delimiter is in " " quoted string i am able how to figured it out and resolve this issue. some times file has nested quoted string like below 
&lt;BR /&gt;" some |text " inner|text " "|xyz string|pqr string"|""
&lt;BR /&gt;is there any way to put text qualifier and quoted string in tFileInputFullRow?
&lt;BR /&gt;please suggest how to parse above row to validate the delimiter count as well nested quoted string issue.</description>
      <pubDate>Mon, 23 Jul 2012 13:07:39 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/resolved-How-To-Validate-Delimiters-in-Row-Using/m-p/2267666#M46474</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2012-07-23T13:07:39Z</dc:date>
    </item>
    <item>
      <title>Re: [resolved] How To Validate Delimiters in Row Using tFileInputFullRow component</title>
      <link>https://community.qlik.com/t5/Talend-Studio/resolved-How-To-Validate-Delimiters-in-Row-Using/m-p/2267667#M46475</link>
      <description>Hi&lt;BR /&gt;&lt;BR /&gt;&lt;PRE&gt;but some file delimiter is in " " quoted string i am able how to figured it out and resolve this issue.&lt;/PRE&gt;&lt;BR /&gt;Sorry. Could you explain the above sentence in another way?&lt;BR /&gt;Besides, there isn't a way to put text qualifier in tFileInputFullRow.&lt;BR /&gt;Regards,&lt;BR /&gt;Pedro</description>
      <pubDate>Tue, 24 Jul 2012 02:54:52 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/resolved-How-To-Validate-Delimiters-in-Row-Using/m-p/2267667#M46475</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2012-07-24T02:54:52Z</dc:date>
    </item>
    <item>
      <title>Re: [resolved] How To Validate Delimiters in Row Using tFileInputFullRow component</title>
      <link>https://community.qlik.com/t5/Talend-Studio/resolved-How-To-Validate-Delimiters-in-Row-Using/m-p/2267668#M46476</link>
      <description>sorry it has been missed some text. &lt;BR /&gt;i mean to say, some delimiters comes in quoted string . In that case how to skip quoted delimiter, to validate  delimiters count in a row. &lt;BR /&gt;if there is no way to put text qualifier in tFileInputFullRow. then could you suggest me how to accomplish this task.</description>
      <pubDate>Tue, 24 Jul 2012 05:32:20 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/resolved-How-To-Validate-Delimiters-in-Row-Using/m-p/2267668#M46476</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2012-07-24T05:32:20Z</dc:date>
    </item>
    <item>
      <title>Re: [resolved] How To Validate Delimiters in Row Using tFileInputFullRow component</title>
      <link>https://community.qlik.com/t5/Talend-Studio/resolved-How-To-Validate-Delimiters-in-Row-Using/m-p/2267669#M46477</link>
      <description>Hi&lt;BR /&gt;Got you.&lt;BR /&gt;I think you can use tReplace to replace " " with a space.&lt;BR /&gt;Regards,&lt;BR /&gt;Pedro</description>
      <pubDate>Tue, 24 Jul 2012 06:31:05 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/resolved-How-To-Validate-Delimiters-in-Row-Using/m-p/2267669#M46477</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2012-07-24T06:31:05Z</dc:date>
    </item>
    <item>
      <title>Re: [resolved] How To Validate Delimiters in Row Using tFileInputFullRow component</title>
      <link>https://community.qlik.com/t5/Talend-Studio/resolved-How-To-Validate-Delimiters-in-Row-Using/m-p/2267670#M46478</link>
      <description>Than You Pedro, &lt;BR /&gt;but i think this will not work because i want to check how many column are present in a row based on that i will process it further. &lt;BR /&gt;could you tell me how to count, how many Pipe delimiters are there. count should not calculate quoted Pipe delimiters.  &lt;BR /&gt;&lt;BR /&gt;" some |text " |inner|text |"xyz string|pqr string"|""|dsadsadsa|sdasadsa|&lt;BR /&gt;Above has three part of string see below &lt;BR /&gt;1-- " some |text " |inner|text |"xyz string|pqr string"&lt;BR /&gt;2-" |inner|text |"&lt;BR /&gt;3- |""|dsadsadsa|sdasadsa|&lt;BR /&gt;second part is the sub part of first part. please suggest how to calculated in this case or in general case.</description>
      <pubDate>Tue, 24 Jul 2012 11:30:19 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/resolved-How-To-Validate-Delimiters-in-Row-Using/m-p/2267670#M46478</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2012-07-24T11:30:19Z</dc:date>
    </item>
    <item>
      <title>Re: [resolved] How To Validate Delimiters in Row Using tFileInputFullRow component</title>
      <link>https://community.qlik.com/t5/Talend-Studio/resolved-How-To-Validate-Delimiters-in-Row-Using/m-p/2267671#M46479</link>
      <description>I suggest you try the 
&lt;A href="http://opencsv.sourceforge.net/" target="_blank" rel="nofollow noopener noreferrer"&gt;opencsv parser&lt;/A&gt;, which gives you a very flexible way to parse strings to arrays with variable delimiters, text enclosures and escape characters.</description>
      <pubDate>Wed, 25 Jul 2012 01:39:51 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/resolved-How-To-Validate-Delimiters-in-Row-Using/m-p/2267671#M46479</guid>
      <dc:creator>alevy</dc:creator>
      <dc:date>2012-07-25T01:39:51Z</dc:date>
    </item>
    <item>
      <title>Re: [resolved] How To Validate Delimiters in Row Using tFileInputFullRow component</title>
      <link>https://community.qlik.com/t5/Talend-Studio/resolved-How-To-Validate-Delimiters-in-Row-Using/m-p/2267672#M46480</link>
      <description>sorry we can not use any third party utilities, i have found the solution on google to skip the delimiter from quoted string&lt;BR /&gt;but now i got new problem, i need to replace quote inside quote string. see below example &lt;BR /&gt;INPUT String:&lt;BR /&gt;439.00	01/28/2012	65	39284	7218063470	"xyz string"" with pqr string"	78.00	0000505585	my test string	2.06	history be	29.00&lt;BR /&gt;OUTPUT Line:&lt;BR /&gt;439.00	01/28/2012	65	39284	7218063470	"xyz string with pqr string"	78.00	0000505585	my test string	2.06	history be	29.00&lt;BR /&gt;any suggestion.</description>
      <pubDate>Thu, 26 Jul 2012 07:57:42 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/resolved-How-To-Validate-Delimiters-in-Row-Using/m-p/2267672#M46480</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2012-07-26T07:57:42Z</dc:date>
    </item>
    <item>
      <title>Re: [resolved] How To Validate Delimiters in Row Using tFileInputFullRow component</title>
      <link>https://community.qlik.com/t5/Talend-Studio/resolved-How-To-Validate-Delimiters-in-Row-Using/m-p/2267673#M46481</link>
      <description>Thank You All of you, Got the solution on below link. &lt;BR /&gt;Hope it may help others thank you.. &lt;BR /&gt;&lt;A href="http://stackoverflow.com/questions/11649389/java-reg-ex-to-replace-double-quote-inside-double-quote" rel="nofollow noopener noreferrer"&gt;http://stackoverflow.com/questions/11649389/java-reg-ex-to-replace-double-quote-inside-double-quote&lt;/A&gt;</description>
      <pubDate>Thu, 26 Jul 2012 11:28:28 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/resolved-How-To-Validate-Delimiters-in-Row-Using/m-p/2267673#M46481</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2012-07-26T11:28:28Z</dc:date>
    </item>
  </channel>
</rss>

