From: ts Date: 2006-09-27T20:49:25+09:00 Subject: Re: String starts? and ends? methods >>>>> "d" == dblack writes: d> No underscores between words? moulon% grep ith\? string.c * str.startwith?([prefix]+) => true or false * str.endwith?([suffix]+) => true or false rb_define_method(rb_cString, "startwith?", rb_str_startwith, -1); rb_define_method(rb_cString, "endwith?", rb_str_endwith, -1); moulon% Guy Decoux