NeilSchneider
4 years agoQrew Cadet
Re: Find position of text string in larger string
If you only want to know if the summary field contains the value you are looking for (and don't need the index in the array), this should do it..
var text data = "V102-136 ; V23-4072 ; V8-25";
var textList dataList = Split($data, ";");
var text field = "V23-4072";
var bool hasField = Contains($dataList, $field);
If ($hasField, $field, "notfound")
------------------------------
Neil Schneider
------------------------------
var text data = "V102-136 ; V23-4072 ; V8-25";
var textList dataList = Split($data, ";");
var text field = "V23-4072";
var bool hasField = Contains($dataList, $field);
If ($hasField, $field, "notfound")
------------------------------
Neil Schneider
------------------------------