If a template uses the convention of putting a star in front of or behind
numbers that should be rejected for further use then the function
star_to_number()
can be used to convert the variable to a number. The
function has_star()
checks whether a string has a star. It can be used to
generate a logical vector indicating accepted/rejected values.