From: PWR Date: 2006-01-12T23:03:28+09:00 Subject: Re: newbie: functions don't work in script Try changing the last line of your script to, puts a.include?("b") irb automatically prints out the evaluation of an expression. Peter.