BigInteger.valueOf() for very big numbers?
biginteger, java, parsing
Solution
It does have a `BigInteger(String)` constructor :-)
String S = "12345678901234567890123456789012345678901234567890";
BigInteger bi = new BigInteger(S);
Problem
What would be the best way to convert a 50-digit String to a BigInteger in Java? It doesn't have a valueOf(String) method, and I can't convert to Long because it's too small.