diff options
Diffstat (limited to 'doc/string/insert.rdoc')
| -rw-r--r-- | doc/string/insert.rdoc | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/doc/string/insert.rdoc b/doc/string/insert.rdoc index d8252d5ec5..73205f2069 100644 --- a/doc/string/insert.rdoc +++ b/doc/string/insert.rdoc @@ -5,7 +5,6 @@ If the given +index+ is non-negative, inserts +other_string+ at offset +index+: 'foo'.insert(0, 'bar') # => "barfoo" 'foo'.insert(1, 'bar') # => "fbaroo" 'foo'.insert(3, 'bar') # => "foobar" - 'тест'.insert(2, 'bar') # => "теbarст" # Characters, not bytes. 'こんにちは'.insert(2, 'bar') # => "こんbarにちは" If the +index+ is negative, counts backward from the end of +self+ |
