るりまサーチ

最速Rubyリファレンスマニュアル検索!
108件ヒット [1-100件を表示] (0.016秒)
トップページ > クエリ:format[x] > クエリ:spec[x] > ライブラリ:scanf[x]

別のキーワード

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

検索結果

<< 1 2 > >>

Scanf::FormatSpecifier (12002.0)

Scanf::FormatString#last_spec (9103.0)

@todo

@todo

Scanf::FormatString#last_spec_tried (9103.0)

@todo

@todo

Scanf::FormatString#spec_count (9103.0)

@todo

@todo

Scanf::FormatString::SPECIFIERS (9102.0)

@todo

@todo

絞り込み条件を変える

Scanf::FormatSpecifier#conversion (6002.0)

@todo

@todo

Scanf::FormatSpecifier#count_space? (6002.0)

@todo

@todo

Scanf::FormatSpecifier#letter (6002.0)

@todo

@todo

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

@todo

@todo

Scanf::FormatSpecifier#matched (6002.0)

@todo

@todo

絞り込み条件を変える

Scanf::FormatSpecifier#matched_string (6002.0)

@todo

@todo

Scanf::FormatSpecifier#mid_match? (6002.0)

@todo

@todo

Scanf::FormatSpecifier#re_string (6002.0)

@todo

@todo

Scanf::FormatSpecifier#to_re (6002.0)

@todo

@todo

Scanf::FormatSpecifier#to_s (6002.0)

@todo

@todo

絞り込み条件を変える

Scanf::FormatSpecifier#width (6002.0)

@todo

@todo

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

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

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

require 'scanf'
str = "123 abc 456 def 789 ghi"
p str.scanf("%d%s") #=> [123, "abc...
...指定した場合は scanf を継続して実行し、順次
見つかった文字列を変換したオブジェクトの配列を引数に、ブロックを
実行します。このとき、ブロックの実行結果を要素とする配列を返します。

require 'scanf'
str = "123 0x45 6...
...%a
: %A
符号付き浮動小数点数

: %s
空白文字を含まない文字列
(幅が指定されているときは指定された文字数か空白文字の直前までの短い方)

: %c
1文字(幅が指定されているときは指定された文字数)

: [...]
d:spec/regexp#string...
<< 1 2 > >>