U
usgog
I have a String: "This is a test" and I need to convert it into a long
value. Then I need to convert the long value back to the original
String.
Can I use:
long test = Long.valueof("This is a test");
String string = Long.valueof(test).toString();
Now string is: "This is a test"? If not, any better way to do it?
value. Then I need to convert the long value back to the original
String.
Can I use:
long test = Long.valueof("This is a test");
String string = Long.valueof(test).toString();
Now string is: "This is a test"? If not, any better way to do it?