Convert string into a int

Thank you.I will try it.