On Sat, 05 Jan 2002 19:06:58 GMT HarryO <harryo / zipworld.com.au> wrote:

> That only happens if the method doesn't change the object. So, ...
> 
>    "hello".capitalize! # => "Hello"
> 
> whereas
> 
>    "Hello".capitalize! # => nil
> 
> because it was already capitalised.

So what would the code be if you aren't sure whether the object has been
capitalized or not?

Mike Joner