
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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.
I don't have the Random library at talend. How can I do to import it and make fhe Random function works?
Thanks!
Accepted Solutions

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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;

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
You can use tRowGenerator in place of TJava.
Regards

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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;
