Issue #9116 has been updated by alexeymuranov (Alexey Muranov). =begin --- phluid61 (Matthew Kerwin) wrote: --- > Would this have some right-handed equivalent in ((%#rsplit%))? E.g. "...with trailing whitespace and runs..."? Or would it remain the same as ((%#split%))? Or some third option? IMO, if it is introduced, i would say it must be completely symmetric with (({split})). =end ---------------------------------------- Feature #9116: String#rsplit missing https://bugs.ruby-lang.org/issues/9116#change-43019 Author: artagnon (Ramkumar Ramachandra) Status: Open Priority: Normal Assignee: Category: lib Target version: There's nothing corresponding to Python's rsplit(). A quick glance at rb_str_split_m() tells me that it should be pretty trivial to implement. Is there any specific reason it hasn't already been done? -- http://bugs.ruby-lang.org/