string_to_vector function

Transforms string into a vector of strings.