IndexOf

From NexusWiki
Jump to: navigation, search

IndexOf(list, value);

It gives the index of the first occurrence of ’value’ in the list. If it did not occur, it gives -1.