Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR RUBY

ruby remove duplicates from array

array = [1,2,2,2,2,2,3,4,5,6,6,6,7,8,9]
array.uniq
 
PREVIOUS NEXT
Tagged: #ruby #remove #duplicates #array
ADD COMMENT
Topic
Name
8+3 =