From: Yuri Leikind Date: 2002-01-06T03:54:34+09:00 Subject: [ruby-talk:30295] Re: Ruby article on Freshmeat Stefan Scholl wrote: > > http://freshmeat.net/articles/view/358/ Article part: ================ string = " this is a string " You can apply the strip! method to it, like this: string.strip! ==> "this is a string" Methods which have a "!" at the end are destructive; they change the object they are applied to. Now, let's capitalize our string: string.capitalize! ==> "This is a string" =================== Actually, expressions like string.capitalize! are evaluated to nil: string.capitalize! ==> nil If it were string.capitalize then we could add ==> "This is a string" A bit confusing ... Just my two roubles. Yuri Leikind