title: How to parse an integer in a glib string (gchar *)?
body: <p>I have a string which contains (the digits of) an integer value, and I want to obtain this value as an int. I am aware that there are other methods for doing this such as <code>atoi()</code>; however, I'd really like to use glib to do this. Does such a parsing/conversion function exist?</p>