get_option — Parse integer from an option string
option string
(output) integer value parsed from str
Read an int from an option string; if available accept a subsequent comma as well.
0 - no int in string 1 - int found, no subsequent comma 2 - int found including a subsequent comma 3 - hyphen found to denote a range