Suppose I have a String , call it foo . This String can contain any value, such as letters, numbers, special characters, UTF-8 special characters, such as á, etc. For example, this could be a real value:
"Érdekes szöveget írtam a tegnap, 84 ember olvasta."
I would like to have the following two methods:
public BigInteger toBigInteger(String foo) {
Then:
String foo = "Érdekes szöveget írtam a tegnap, 84 ember olvasta."; System.out.println(fromBigInteger(toBigInteger(foo)));
How can i achieve this? Thanks
source share