search for: jalisco

Displaying 1 result from an estimated 1 matches for "jalisco".

Did you mean: aliso
2005 Oct 07
2
Some Ruby code help?
...t, street2, zip, phone, fax, email, cat, dummy, dummy2, dummy3 = row.chomp.split(/\s*\|\s*/) puts state(st, dbh) #todo: insert record... end end puts rows puts "inserted" This is a sample row (which is the one that actually gets mixed up): ARALY ALIMENTOS S.A DE C.V|JALISCO|EL SALTO|CALLE CARRET EL SALTO 2054-A |PUEBLO EL SALTO|45680 | (33)36893084 | | |EMBUTIDO DE CARNES FRÍAS|621006|30|De 0 a 50 st should be ''JALISCO'' right? Well, it gets assigned to "EL SALTO" instead... if I run irb and do this: row = "ARALY ALIMENTOS S.A DE...