Linux heracles.o2switch.net 4.18.0-553.62.1.lve.el8.x86_64 #1 SMP Mon Jul 21 17:50:35 UTC 2025 x86_64
/
opt
/
alt
/
ruby21
/
share
/
ri
/
2.1.0
/
system
/
String
/
//opt/alt/ruby21/share/ri/2.1.0/system/String/partition-i.ri
U:RDoc::AnyMethod[iI"partition:ETI"String#partition;TF:publico:RDoc::Markup::Document:@parts[o:RDoc::Markup::Paragraph; [ I"BSearches <i>sep</i> or pattern (<i>regexp</i>) in the string ;TI"=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 <i>str</i>.;To:RDoc::Markup::BlankLine o:RDoc::Markup::Verbatim; [I":"hello".partition("l") #=> ["he", "l", "lo"] ;TI":"hello".partition("x") #=> ["hello", "", ""] ;TI"9"hello".partition(/.l/) #=> ["h", "el", "lo"];T:@format0: @fileI" string.c;T:0@omit_headings_from_table_of_contents_below0I"qstr.partition(sep) -> [head, sep, tail] str.partition(regexp) -> [head, match, tail] ;T0[ I" (p1);T@FI"String;TcRDoc::NormalClassI" scanf;T0