ordered list operations

All programming languages have an implementation of ordered lists, they can be strings arrays vectors, each of which can be a static size or change dynamically, here are some common operations and their function names in some popular languages

Note: I find this as a handy reference instead of looking up the same questions on the internet over and over again.

finding

find the first index of search query

find the last index of search query in string

substrings

slicing

contains element


comments section