SurveyToGo: IndexOfIndexOf(inValue, inArray): returns the array index of a DVar value within a DVar array.Aug 3, 2026Knowledge
InformationTitleSurveyToGo: IndexOfAnswerIndexOf int IndexOf(DVar inValue, params DVar[] inArray) Description Will return the array index of a value within the array. Parameters The following is a list of parameters the functions receives ParameterTypeDescriptioninValueDVarSpecific ValueinArrayDVar[]Array Name Return Type int Examples Given the array: arr, that has these items {6,7,8,9}IndexOf(8,arr); will return the integer 2, as 8 is in placed in index 2URL NameSurveyToGo-IndexOf