public static BigInteger vanity(final String value) {
        BigInteger result = BigInteger.valueOf(0);
        for (char c : value.toUpperCase(Locale.US).toCharArray()) {
            result = result.multiply(BigInteger.TEN).add(BigInteger.valueOf(vanityDigit(c)));
        }
        return result;
    }
Holds implementations for functions in Formula
main/src/main/java/cgeo/geocaching/utils/formulas/FormulaUtils.java