From 7d848354f8e25a652ccaabbd54e106b44e7da308 Mon Sep 17 00:00:00 2001 From: knu Date: Mon, 14 Apr 2008 04:16:23 +0000 Subject: * 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?. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@15998 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- NEWS | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'NEWS') diff --git a/NEWS b/NEWS index 049fd0d999..6fc2a9fe64 100644 --- a/NEWS +++ b/NEWS @@ -70,6 +70,14 @@ with all sufficient information, see the ChangeLog file. * Regexp.union accepts an array of patterns. + * String#partition + * String#rpartition + * String#start_with? + * String#end_with? + + New methods. These are $KCODE aware unlike #index, #rindex and + #include?. + * StopIteration New exception class that causes Kernel#loop to stop iteration when -- cgit v1.2.3