
int to_int( string );

This Simulefun takes in a string and converts it into an int datatype.
It will only return the integers up to the first non-integer value it
encounters in the string.

