ruby-cvs:23238
From: knu ruby-lang.org
Date: Mon, 14 Apr 2008 13:16:24 +0900 (JST)
Subject: [ruby-cvs:23238] Ruby:r15998 (ruby_1_8): * string.c (rb_str_partition, rb_str_rpartition,
knu 2008-04-14 13:16:23 +0900 (Mon, 14 Apr 2008)
New Revision: 15998
Modified files:
branches/ruby_1_8/ChangeLog
branches/ruby_1_8/NEWS
branches/ruby_1_8/string.c
Log:
* string.c (rb_str_partition, rb_str_rpartition,
rb_str_start_with, rb_str_end_with): New methods:
String#partition, #rpartition, #start_with? and #end_with?;
backported from 1.9. These methods are $KCODE aware unlike
#index, #rindex and #include?.
http://svn.ruby-lang.org/cgi-bin/viewvc.cgi/branches/ruby_1_8/ChangeLog?r1=15998&r2=15997&diff_format=u
http://svn.ruby-lang.org/cgi-bin/viewvc.cgi/branches/ruby_1_8/NEWS?r1=15998&r2=15997&diff_format=u
http://svn.ruby-lang.org/cgi-bin/viewvc.cgi/branches/ruby_1_8/string.c?r1=15998&r2=15997&diff_format=u