Suppose the variable path is an array of fully qualified path and file
names (e.g., in Windows, an item might be "c:\folder\file.txt").  What
would be an efficient way of creating another array that contained only
the file extensions (one or more characters following the last .
character, if any)?  I know I could use a while loop and a counter, but
figure there is a better way in Ruby.

Alternatively, how could I change the array so that it was two
dimensional where each "row" had two "columns" consisting of the full
name and the extension only?

Jamal