empty vector is returned when a vector/array containing only whitespace characters is read