Convert string to vector

Like this: