What's the simplest way to drop the last result from an array?

snipped by meridian

foo = foo[0..(foo.length - 2)] ?