Skip to main content
Announcements
Introducing a new Enhanced File Management feature in Qlik Cloud! GET THE DETAILS!
cancel
Showing results for 
Search instead for 
Did you mean: 
Anonymous
Not applicable

Create a random string of characters

Hi. I want to create a random string with no numbers, only characters. I have been trying to use some java functions that talend had implemented but I am not able to do this.

I have found that there is a Java function called random which let you do it but I don't know how to import this class.

 

0683p000009LzYp.png

I don't have the Random library at talend. How can I do to import it and make fhe Random function works?

 

Thanks!

 

 

Labels (3)
1 Solution

Accepted Solutions
iamabhishek
Creator III
Creator III

Assuming you are using tJava then head to "Advanced settings". There you would see the "Import" section. Here you should mention all your libraries that you want to import - in your case 

import java.util.Random;

 

View solution in original post

2 Replies
fdenis
Master
Master

You can use tRowGenerator in place of TJava.

Regards

iamabhishek
Creator III
Creator III

Assuming you are using tJava then head to "Advanced settings". There you would see the "Import" section. Here you should mention all your libraries that you want to import - in your case 

import java.util.Random;