how to remove all strings in array ruby code example Example: delete item from array in ruby a = [3, 2, 4, 6, 3, 8] a.delete(3)