Dari string ke int android studio

String s;
int myNum = Integer.parseInt(s);
Happy Owl