Examples
Basic Examples (2)
Find previous/next elements in a list of integers:
Find previous/next elements in a list of strings:
Scope (2)
Elements do not have to be numbers or strings:
If the element doesn't exist, Missing["NotFound"] is returned:
Options (2)
By default, searches will not wrap around the list:
With the option setting WrapAround→True, searches will wrap around the list:
Possible Issues (2)
If elements within the list are not unique, the first match is returned:
Matches are found after evaluation:
Neat Examples (3)
Which two U.S. states is Illinois between alphabetically:
Between which two planets is the Earth when listed in order of increasing radius:
Find phrases within text:
Publisher
NotebookArchive
Version History
-
1.0.1
– 22 September 2026
-
1.0.0
– 31 May 2023
Related Resources