diff options
| -rw-r--r-- | doc/string/length.rdoc | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/doc/string/length.rdoc b/doc/string/length.rdoc index 544bca269f..5b302380b5 100644 --- a/doc/string/length.rdoc +++ b/doc/string/length.rdoc @@ -2,11 +2,12 @@ Returns the count of characters (not bytes) in +self+: 'foo'.length # => 3 'тест'.length # => 4 - 'こんにちは'.length # => 5 + 'こんにちは'.length # => 5 Contrast with String#bytesize: 'foo'.bytesize # => 3 'тест'.bytesize # => 8 - 'こんにちは'.bytesize # => 15 + 'こんにちは'.bytesize # => 15 +Related: see {Querying}[rdoc-ref:String@Querying]. |
