Find index of substance
function i input String searchName "Name of substance to find in substanceNames"; output Integer index "Index of searchName in substanceNames"; end i;