D7net
Home
Console
Upload
information
Create File
Create Folder
About
Tools
:
/
opt
/
alt
/
ruby34
/
share
/
ri
/
system
/
String
/
Filename :
delete_suffix-i.ri
back
Copy
U:RDoc::AnyMethod[iI"delete_suffix:ETI"String#delete_suffix;TF:publico:RDoc::Markup::Document:@parts[ o:RDoc::Markup::Paragraph; [I"NReturns a copy of +self+ with trailing substring <tt>suffix</tt> removed:;To:RDoc::Markup::BlankLine o:RDoc::Markup::Verbatim; [ I"1'hello'.delete_suffix('llo') # => "he" ;TI"4'hello'.delete_suffix('hel') # => "hello" ;TI"9'тест'.delete_suffix('ст') # => "те" ;TI"A'こんにちは'.delete_suffix('ちは') # => "こんに" ;T:@format0o; ; [I":Related: String#delete_suffix!, String#delete_prefix.;T: @fileI" string.c;T:0@omit_headings_from_table_of_contents_below0I")delete_suffix(suffix) -> new_string ;T0[ I" (p1);T@FI"String;TcRDoc::NormalClass00