open_in_new
content_copy
String myString = "1234"; int foo = Integer.parseInt(myString);