added HelperFunctions.safeAlphaNum

This commit is contained in:
hrj 2022-04-02 23:06:57 +05:30
parent cc8addb0c7
commit 444982e65f

View File

@ -29,7 +29,8 @@ public class HelperFunctions {
public static final String safeNumbers = "23456789";
public static final String allNumbers = safeNumbers + "10";
public static final String specialCharacters = "$#%@&?";
public static final String safeCharacters = safeAlphabets + safeNumbers + specialCharacters;
public static final String safeAlphaNum = safeAlphabets + safeNumbers;
public static final String safeCharacters = safeAlphaNum + specialCharacters;
public static String randomString(final int n) {
return randomString(n, safeCharacters);