Select your preferred scripting language. All code snippets will be displayed in this language.
History
int The zero-based index of the first occurrence of the element, if found; otherwise, �1.
Find the index of the first element that satisfies the predicate.