U:RDoc::AnyMethod[iI"rpartition:ETI"String#rpartition;TF:publico:RDoc::Markup::Document:@parts[o:RDoc::Markup::Paragraph; [ I"OSearches sep or pattern (regexp) in the string from the end ;TI"Lof the string, and returns the part before it, the match, and the part ;TI"after it. ;TI"BIf it is not found, returns two empty strings and str.;To:RDoc::Markup::BlankLine o:RDoc::Markup::Verbatim; [I";"hello".rpartition("l") #=> ["hel", "l", "o"]
;TI";"hello".rpartition("x") #=> ["", "", "hello"]
;TI":"hello".rpartition(/.l/) #=> ["he", "ll", "o"];T:@format0:
@fileI"
string.c;T:0@omit_headings_from_table_of_contents_below0I"qstr.rpartition(sep) -> [head, sep, tail]
str.rpartition(regexp) -> [head, match, tail]
;T0[ I" (p1);T@FI"String;TcRDoc::NormalClassI"
scanf;T0