On 2012-07-10 08:59, Dmitry Olshansky wrote:

Can you do it in other languages?

Sure, in Ruby, but that only works on arrays:

p [5, 3, 5, 6, 8].uniq.map{ |e| e.to_s }.sort

Prints:

["3", "5", "6", "8"]

--
/Jacob Carlborg

Reply via email to