cl-parse-integer

cl-parse-integer is an autoloaded compiled Lisp function in `cl-extra.el'.

(cl-parse-integer STRING &key START END RADIX JUNK-ALLOWED)

Parse integer from the substring of STRING from START to END.
STRING may be surrounded by whitespace chars (chars with syntax ` ').
Other non-digit chars are considered junk.
RADIX is an integer between 2 and 36, the default is 10. Signal
an error if the substring between START and END cannot be parsed
as an integer unless JUNK-ALLOWED is non-nil.