Talend Connect
Virtual Summit
JOIN US!
And visit the Customer
& Community Lounge.
May 27-28, wherever you are.

unable to use String.join function

Highlighted
One Star

unable to use String.join function

I am unable to use java function String.join in talend. 
For ex - I am trying to run the below code : 
String.join("","123456".split("123456".substring(3, 5)));
It is working perfectly on Java and giving O/P as 1236 (which is as expected); however when i am trying to do the same in talend, it is showing an error "The method join(String, String[]) is undefined for type String)"
Highlighted
Five Stars

Re: unable to use String.join function

String.join required Java 8.
Which version of Java are you using with Talend?

2019 GARTNER MAGIC QUADRANT FOR DATA INTEGRATION TOOL

Talend named a Leader.

Get your copy

OPEN STUDIO FOR DATA INTEGRATION

Kickstart your first data integration and ETL projects.

Download now

Put Massive Amounts of Data to Work

Learn how to make your data more available, reduce costs and cut your build time

Watch Now

How OTTO Utilizes Big Data to Deliver Personalized Experiences

Read about OTTO's experiences with Big Data and Personalized Experiences

Blog

Talend Integration with Databricks

Take a look at this video about Talend Integration with Databricks

Watch Now