Assume I have a vector called "vector" with text values (This is part of a larger chunk of code, but for illustrative reasons I simplify the question to a vector). For