⚝
One Hat Cyber Team
⚝
Your IP:
216.73.216.133
Server IP:
185.119.109.197
Server:
Linux managedhosting.chostar.me 5.15.0-160-generic #170-Ubuntu SMP Wed Oct 1 10:06:56 UTC 2025 x86_64
Server Software:
Apache
PHP Version:
8.1.33
Buat File
|
Buat Folder
Eksekusi
Dir :
~
/
usr
/
share
/
ri
/
3.0.0
/
system
/
String
/
View File Name :
%5b%5d%3d-i.ri
U:RDoc::AnyMethod[iI"[]=:ETI"String#[]=;TF:publico:RDoc::Markup::Document:@parts[o:RDoc::Markup::Paragraph; [I"AElement Assignment---Replaces some or all of the content of ;TI"H
str
. The portion of the string affected is determined using ;TI"Fthe same criteria as String#[]. If the replacement string is not ;TI"Ethe same length as the text it is replacing, the string will be ;TI"Gadjusted accordingly. If the regular expression or string is used ;TI"Has the index doesn't match a position in the string, IndexError is ;TI"Braised. If the regular expression form is used, the optional ;TI"Hsecond Integer allows you to specify which portion of the match to ;TI"Hreplace (effectively using the MatchData indexing rules. The forms ;TI"Gthat take an Integer will raise an IndexError if the value is out ;TI"Fof range; the Range form will raise a RangeError, and the Regexp ;TI";and String will raise an IndexError on negative match.;T: @fileI" string.c;T:0@omit_headings_from_table_of_contents_below0I"¶str[integer] = new_str str[integer, integer] = new_str str[range] = aString str[regexp] = new_str str[regexp, integer] = new_str str[regexp, name] = new_str str[other_str] = new_str ;T0[ I"(*args);T@FI"String;TcRDoc::NormalClass00