📅  最后修改于: 2022-03-11 14:52:27.098000             🧑  作者: Mango
public static BigInteger lastBigInteger(String s) {
int i = s.length();
while (i > 0 && Character.isDigit(s.charAt(i - 1))) {
i--;
}
return new BigInteger(s.substring(i));
}