vmap function

Apply a function to each parsed variable name