Go to the first, previous, next, last section, table of contents.


f_res.indexof

f_res.indexof(Element, List )
:: リスト中に要素が最初に現れる位置を返す
Element
検索したい要素
List
検索対象のリスト
return
List で最初に現れる Element のインデックス番号. ListElement が現れない場合は整数 -1.
[0] f_res.indexof( 2, [1,2,3] );
1
[1] f_res.indexof( 4, [1,2,3] );
-1
[2] f_res.indexof( "nd_det", flist() );
31
[3] f_res.indexof( "nd_Det", flist() );
-1


Go to the first, previous, next, last section, table of contents.