<?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>question Re: How to split file name with delimeter '_' and stored values in variable using Nifi? in Archives of Support Questions (Read Only)</title>
    <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/How-to-split-file-name-with-delimeter-and-stored-values-in/m-p/200867#M83664</link>
    <description>&lt;P&gt;thanks @shu&lt;/P&gt;&lt;P&gt;its working like charm&lt;BR /&gt;&lt;A rel="user" href="https://community.cloudera.com/users/18929/yaswanthmuppireddy.html" nodeid="18929"&gt;@Shu&lt;/A&gt;&lt;/P&gt;</description>
    <pubDate>Fri, 01 Feb 2019 17:25:55 GMT</pubDate>
    <dc:creator>waghmithu</dc:creator>
    <dc:date>2019-02-01T17:25:55Z</dc:date>
    <item>
      <title>How to split file name with delimeter '_' and stored values in variable using Nifi?</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/How-to-split-file-name-with-delimeter-and-stored-values-in/m-p/200865#M83662</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I want to split that file name('_') and store split values in variable for further operation.&lt;/P&gt;&lt;P&gt;The file name is combination of various parameter.&lt;/P&gt;&lt;P&gt;file Name = BBAS_2018091873_COEP_20180918141337_Cleaned_txt_scorable.csv&lt;/P&gt;&lt;P&gt;Stores the values in variable like,&lt;/P&gt;&lt;P&gt;like 
a=BBAS ,b=2018091873 , c=COEP, d=20180918141337 , e=Cleaned, f=txt , g=scorable.csv&lt;/P&gt;&lt;P&gt;Thanks in advance!!!&lt;/P&gt;</description>
      <pubDate>Wed, 19 Sep 2018 19:05:00 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/How-to-split-file-name-with-delimeter-and-stored-values-in/m-p/200865#M83662</guid>
      <dc:creator>waghmithu</dc:creator>
      <dc:date>2018-09-19T19:05:00Z</dc:date>
    </item>
    <item>
      <title>Re: How to split file name with delimeter '_' and stored values in variable using Nifi?</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/How-to-split-file-name-with-delimeter-and-stored-values-in/m-p/200866#M83663</link>
      <description>&lt;A rel="user" href="https://community.cloudera.com/users/18900/waghmithu.html" nodeid="18900"&gt;@Mitthu Wagh&lt;/A&gt;&lt;P&gt;Use &lt;A href="https://nifi.apache.org/docs/nifi-docs/html/expression-language-guide.html#getdelimitedfield" target="_blank"&gt;getDelimitedField&lt;/A&gt; function and use &lt;STRONG&gt;UpdateAttribute &lt;/STRONG&gt;processor and add new properties like.&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;a &lt;/STRONG&gt;&lt;/P&gt;&lt;PRE&gt;${fileName::getDelimitedField(1,'_')}&lt;/PRE&gt;&lt;P&gt;&lt;STRONG&gt;b&lt;/STRONG&gt;&lt;/P&gt;&lt;PRE&gt;${fileName::getDelimitedField(2,'_')} &lt;/PRE&gt;&lt;P&gt;By using getDelimitedField function we are going to add all the attributes you needed.&lt;/P&gt;&lt;P&gt;-&lt;/P&gt;&lt;P&gt;If the Answer helped to resolve your issue, &lt;STRONG&gt;Click on Accept button below to accept the answer&lt;/STRONG&gt;, That would be great help to Community users to find solution quickly for these kind of issues.&lt;/P&gt;</description>
      <pubDate>Wed, 19 Sep 2018 21:39:33 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/How-to-split-file-name-with-delimeter-and-stored-values-in/m-p/200866#M83663</guid>
      <dc:creator>Shu_ashu</dc:creator>
      <dc:date>2018-09-19T21:39:33Z</dc:date>
    </item>
    <item>
      <title>Re: How to split file name with delimeter '_' and stored values in variable using Nifi?</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/How-to-split-file-name-with-delimeter-and-stored-values-in/m-p/200867#M83664</link>
      <description>&lt;P&gt;thanks @shu&lt;/P&gt;&lt;P&gt;its working like charm&lt;BR /&gt;&lt;A rel="user" href="https://community.cloudera.com/users/18929/yaswanthmuppireddy.html" nodeid="18929"&gt;@Shu&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 01 Feb 2019 17:25:55 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/How-to-split-file-name-with-delimeter-and-stored-values-in/m-p/200867#M83664</guid>
      <dc:creator>waghmithu</dc:creator>
      <dc:date>2019-02-01T17:25:55Z</dc:date>
    </item>
  </channel>
</rss>

