Logo

Programming-Idioms

History of Idiom 222 > diff from v3 to v4

Edit summary for version 4 :
Linked to idiom #62 [Find substring position]

Version 3

2020-04-06, 21:34:15

Version 4

2020-04-06, 21:38:37

Idiom #222 Find first index of an element in list

Set i to the first index in list items at which the element x can be found, or -1 if items does not contain x.

Idiom #222 Find first index of an element in list

Set i to the first index in list items at which the element x can be found, or -1 if items does not contain x.

Extra Keywords
position
Extra Keywords
position