I have a string uniqueCode of length 16.
String uniqueCode = accountno + extracode;
accountno is of length 6 and extracode is populated in following way:
String extraCode = branch + loanCode + openingDateStr ;
BigInteger hexaCode = new BigInteger(extraCode);
extraCode = hexaCode.toString(16); // hexa bit
Now i want to get back branch,loancode and openingdatestr from this uniquecode. how to do this?
BigInteger? You only normally convert to an integer if you want to perform some form of math operation on it. If it's simply an identifier you can leave it as aString.