るりまサーチ (Ruby 2.2.0)

最速Rubyリファレンスマニュアル検索!
18件ヒット [1-18件を表示] (0.036秒)
トップページ > バージョン:2.2.0[x] > クエリ:format[x] > クエリ:spec[x] > クエリ:scanf[x]

別のキーワード

  1. benchmark format
  2. logger datetime_format=
  3. logger datetime_format
  4. tms format
  5. ipaddr in6format

ライブラリ

検索結果

String#scanf(format) -> Array (79177.0)

ブロックを指定しない場合、見つかった文字列を format に従って変 換し、そのオブジェクトの配列を返します。 format で指定した文字列が見つからない場合は空の配列を 生成して返します。

ブロックを指定しない場合、見つかった文字列を format に従って変
換し、そのオブジェクトの配列を返します。
format で指定した文字列が見つからない場合は空の配列を
生成して返します。

require 'scanf'
str = "123 abc 456 def 789 ghi"
p str.scanf("%d%s") #=> [123, "abc"]

ブロックを指定した場合は scanf を継続して実行し、順次
見つかった文字列を変換したオブジェクトの配列を引数に、ブロックを
実行します。このとき、ブロックの実行結果を要素とする配列を返します。

requir...

String#scanf(format) {|*ary| ...} -> Array (79177.0)

ブロックを指定しない場合、見つかった文字列を format に従って変 換し、そのオブジェクトの配列を返します。 format で指定した文字列が見つからない場合は空の配列を 生成して返します。

ブロックを指定しない場合、見つかった文字列を format に従って変
換し、そのオブジェクトの配列を返します。
format で指定した文字列が見つからない場合は空の配列を
生成して返します。

require 'scanf'
str = "123 abc 456 def 789 ghi"
p str.scanf("%d%s") #=> [123, "abc"]

ブロックを指定した場合は scanf を継続して実行し、順次
見つかった文字列を変換したオブジェクトの配列を引数に、ブロックを
実行します。このとき、ブロックの実行結果を要素とする配列を返します。

requir...

Scanf::FormatSpecifier (69001.0)

Scanf::FormatString#last_spec (60304.0)

@todo

@todo

Scanf::FormatString#last_spec_tried (60304.0)

@todo

@todo

絞り込み条件を変える

Scanf::FormatString#spec_count (60304.0)

@todo

@todo

Scanf::FormatString::SPECIFIERS (60301.0)

@todo

@todo

Scanf::FormatSpecifier#conversion (51001.0)

@todo

@todo

Scanf::FormatSpecifier#count_space? (51001.0)

@todo

@todo

Scanf::FormatSpecifier#letter (51001.0)

@todo

@todo

絞り込み条件を変える

Scanf::FormatSpecifier#match(str) (51001.0)

@todo

@todo

Scanf::FormatSpecifier#matched (51001.0)

@todo

@todo

Scanf::FormatSpecifier#matched_string (51001.0)

@todo

@todo

Scanf::FormatSpecifier#mid_match? (51001.0)

@todo

@todo

Scanf::FormatSpecifier#re_string (51001.0)

@todo

@todo

絞り込み条件を変える

Scanf::FormatSpecifier#to_re (51001.0)

@todo

@todo

Scanf::FormatSpecifier#to_s (51001.0)

@todo

@todo

Scanf::FormatSpecifier#width (51001.0)

@todo

@todo