Find Index Block

Returns the index of the first/last occurrence of the item in the list. Returns 0 if item is not found.

Generated Code

first

var list;

list.indexOf('') + 1;

last

var list;

list.lastIndexOf('') + 1;

Last updated