parse_vector function

Parse a character vector.