I want to generate unique 25 characters and numbers long string using the following code,
public static String generateString() {
String uuid = UUID.randomUUID().toString();
return uuid;
}
How I can set the size of the generated String and remove the -
symbols?