List.to_integer/2

defmodule List do
  def to_integer(charlist, base)
end

Returns an integer whose text representation is charlist in base base.

The base needs to be between 2 and 36.