Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
Posting on Qlik Community is temporarily paused for some users. Thank you for patience and we'll update you soon!
cancel
Showing results for 
Search instead for 
Did you mean: 
Anonymous
Not applicable

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)"
Labels (3)
1 Reply
Anonymous
Not applicable
Author

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