Softanza
StartFrançais
Softanza
How-to · Lists

Find the position of an item in a list

Softanza
Q([ 10, 20, 30 ]).Find(20)
#--> [ 2 ]
Output
2

ran: printed what the recipe promises

run on 2026-10-02 22:33 inside the library at commit 0e72e2e2c; the expression carrying the promise was printed for the run · The recipe on GitHub(opens in a new tab)

The methods

stzList.Find · stzList.FindItem

See also

Words for this task: find, position of, index of, where is, locate, at what index