From: "Ball, Donald A Jr (Library)" Date: 2007-06-23T04:24:24+09:00 Subject: Re: assign greater of two ints? > Is there a more concise way to write this? > > a = 5 > b = "test123" > if a < b.length > a = b.length > end > > --or-- > > a = b.length if a < b.length a = [a, b.length].max - donald