From: dblack@... Date: 2007-07-27T09:48:33+09:00 Subject: Re: How to delete array element and add to previous element Hi -- On Fri, 27 Jul 2007, Al Cholic wrote: > Hello, > > I have an array that has elements that are arrays. > > It looks like this(I'll call it array), it has: > [ > [POS1, POS2a\, POS2b, POS3, POS4], # this array is in position > array[0] > [POS2c\, POS2d\, POS2e], # this array is in position > array[1] > [POS2f\, POS2g\, POS2h], # this array is in position > array[2] > [POS1, POS2a\, POS2b, POS3, POS4] # this array is in position > array[3] > > ] > > Notice that Im trying to escape the commas with the backslash in the > array. Is this the proper ways to escape commas in arrays? The POS2's > are separated with commas(not to confuse them with the commas that > separate the array elements). I'm afraid I don't know what you mean. What exactly are you trying to do with those commas? David -- * Books: RAILS ROUTING (new! http://www.awprofessional.com/title/0321509242) RUBY FOR RAILS (http://www.manning.com/black) * Ruby/Rails training & consulting: Ruby Power and Light, LLC (http://www.rubypal.com)