parse vector.
trim the string.