From: Josselin Date: 2007-02-25T03:00:07+09:00 Subject: using step backward ? I have an array myArray = ["22", "31", "56", "89", "47"] I would like to produce a string like : "22#31#56#89>47<" where the last item must be : >last_item< case 1 item : ["22"] => ">22<" case 2 items : ["22", "31"] => "22#>31<" .. case n items : ["22", "31", "56", .........., "89", "47"] => "22#31#56#...........#89>47<" as it's always the last items getting special treatment I thought starting with " >"+myArray.last +"< " then using 1.step(myArray.length-1, -1) do {..... put # after item } and concatenate if myArray.length > 1 but I cannot get it right... I cannot get simple tfyh joss