Gestionnaire de fichiers - Editer - /opt/cpanel/ea-ruby24/root/usr/share/ri/system/String/insert-i.ri
Arrière
U:RDoc::AnyMethod[iI"insert:ETI"String#insert;TF:publico:RDoc::Markup::Document:@parts[o:RDoc::Markup::Paragraph; [ I"@Inserts <i>other_str</i> before the character at the given ;TI"I<i>index</i>, modifying <i>str</i>. Negative indices count from the ;TI"Gend of the string, and insert <em>after</em> the given character. ;TI"HThe intent is insert <i>aString</i> so that it starts at the given ;TI"<i>index</i>.;To:RDoc::Markup::BlankLine o:RDoc::Markup::Verbatim; [ I"*"abcd".insert(0, 'X') #=> "Xabcd" ;TI"*"abcd".insert(3, 'X') #=> "abcXd" ;TI"*"abcd".insert(4, 'X') #=> "abcdX" ;TI"*"abcd".insert(-3, 'X') #=> "abXcd" ;TI")"abcd".insert(-1, 'X') #=> "abcdX";T:@format0: @fileI" string.c;T:0@omit_headings_from_table_of_contents_below0I"+str.insert(index, other_str) -> str ;T0[ I" (p1, p2);T@FI"String;TcRDoc::NormalClassI" scanf;T0
| ver. 1.4 |
Github
|
.
| PHP 8.0.30 | Génération de la page: 0 |
proxy
|
phpinfo
|
Réglages