From: Josselin Date: 2007-02-20T22:20:07+09:00 Subject: get rid of last element in an array if i have my_list = "2-131-25-5558-247-68" and I want to get rid of the last element... I wrote : my_list.split('-') - my_list.split('-').last.to_a => "22-13-25-58-47" which runs well.. but isn't too complex.... ? tfyl joss