22件ヒット
[1-22件を表示]
(0.086秒)
検索結果
-
String
# codepoints -> [Integer] (18416.0) -
文字列の各コードポイントの配列を返します。(self.each_codepoint.to_a と同じです)
...列の各コードポイントの配列を返します。(self.each_codepoint.to_a と同じです)
//emlist[例][ruby]{
#coding:UTF-8
"hello わーるど".codepoints
# => [104, 101, 108, 108, 111, 32, 12431, 12540, 12427, 12393]
//}
ブロックが指定された場合は String#each_codepoint... -
String
# codepoints {|codepoint| block } -> self (18216.0) -
文字列の各コードポイントの配列を返します。(self.each_codepoint.to_a と同じです)
...列の各コードポイントの配列を返します。(self.each_codepoint.to_a と同じです)
//emlist[例][ruby]{
#coding:UTF-8
"hello わーるど".codepoints
# => [104, 101, 108, 108, 111, 32, 12431, 12540, 12427, 12393]
//}
ブロックが指定された場合は String#each_codepoint...