111件ヒット
[101-111件を表示]
(0.197秒)
ライブラリ
- ビルトイン (111)
クラス
-
Encoding
:: Converter (48) - Enumerator (12)
- IO (12)
- String (39)
キーワード
- byterindex (3)
- length (12)
- next (12)
-
primitive
_ convert (48) - size (12)
-
write
_ nonblock (12)
検索結果
-
String
# size -> Integer (6223.0) -
文字列の文字数を返します。バイト数を知りたいときは bytesize メソッドを使ってください。
...いときは bytesize メソッドを使ってください。
//emlist[例][ruby]{
"test".length # => 4
"test".size # => 4
"テスト".length # => 3
"テスト".size # => 3
"\x80\u3042".length # => 2
"\x80\u3042".size # => 2
//}
@see String#bytesize...