Hi Vyshali, Follow the usual Java String API [1]. Instead of splitlines, use .split(String regex).
-Andy [1]: https://docs.oracle.com/javase/6/docs/api/java/lang/String.html ________________________________________ From: Vyshali <[email protected]> Sent: Thursday, November 2, 2017 2:14 PM To: [email protected] Subject: Re: Issue with Executescript Thank you Andy. How can I convert the "text" into a list or array? So that I could get rid of splitlines funtion itself Regards, Vyshali -- Sent from: http://apache-nifi-developer-list.39713.n7.nabble.com/
