From: mengx@... Date: 2002-04-02T01:01:24+09:00 Subject: Re: String#begins?(s) I implemented and have been using head head! tail tail! as special cases of slice, slice! e.g. s = "abcde" if s.head("abc") puts "abc" end I found them very handy and intuitive. Thanks -Ted > > In message "Re: String#begins?(s)" > on 02/04/01, Helmut Leitner writes: > > |Would you like > | "head?" > | "tail?" > |? > > I like them, but I'm not sure whether they're clear or not. > > matz.>