String to Integer

I have a string which contains a 2 digit number. (exm. string s = "36")
How can I convert that string to an integer?
Topic archived. No new replies allowed.