Here is a rather golfed way to get just the unique strings from an array. It also saves the hassle of naming a temporary hash variable. Of course, it doesn't preserve order and it converts non-string items such as objects into strings while only running half as fast. (: