Convert casual string to int in C : <p>As the title I need to convert a casual string (like "elephant") to a int type. I already know about <em>atoi</em> and <em>strtol</em> function of <em>stdlib.h</em> library. However this ones do not work on casual string (the return value is always 0). Does a function like this exist yet?</p>
