Scan character vector for specific flag!

scan_prm(chars, variable)

Arguments

chars

Vector of character strings

variable

Character string giving the flag to search for.