I have different unique strings in the same format. The string looks like this axf25!j&809>-11~dc and I want to get unique integer value from this string.
axf25!j&809>-11~dc
You can try with code:
import java.math.BigInteger; public static BigInteger stringToBigInteger(String text) { BigInteger bigInt = new BigInteger(text.getBytes()); return bigInt; }
thanks.