Position—Wolfram Language Documentation
https://reference.wolfram.com/language/ref/Position.htmlPosition[expr, pattern] gives a list of the positions at which objects matching pattern appear in expr. Position[expr, pattern, levelspec] finds only objects that appear on levels specified by levelspec. Position[expr, pattern, levelspec, n] gives the positions of the first n objects found. Position[pattern] represents an operator form of Position that can be applied to an expression.
Finding the index of a specific element in a list - Mathematica ...
https://mathematica.stackexchange.com › ...Given data = {280., 280.5, 281., 281.5, 282., 282.5, 283., 283.5, 284., 284.5};. you could use data[[;; Position[data, 282.][[1, 1]]]].
List indexing in mathematica - Stack Overflow
https://stackoverflow.com/questions/547960115.04.2011 · List indexing in mathematica. Ask Question Asked 10 years, 10 months ago. Active 10 years, 9 months ago. Viewed 3k times 5 0. Let S be a vector with unique elements, and s a subset of it, also with unique elements; e.g., S={1,2,3,4,5,6} and s={1,3,4,6}. Now given another ...