StripWhitespace now removes empty elements from the vector.