Converts a string to an integer.
Converts a string to an integer. The string value '*string' ia converted into an integer, and stored '*var'.
This function is capable of returning multiple values within one string if they are separated by white spaces. Example:
offset = str_getvalue(&val, "1 2 3 4", offset);