Hi, newbie here.
I want to add a statement here that if the first string in any of the 3 myStrList is "Dog" then don't include that list, in this case 'myStrList2'.
Dim myStrList1 As String = "Cat,1,3"
Dim myStrList2 As String = "Dog,5,6"
Dim myStrList3 As String = "Duck,8,9"
Result = myStrList1 + "," + myStrList2 + "," + myStrList3
'The results = Cat,1,3,Dog,5,6,Duck,8,9
Solved! Go to Solution.
Just F.Y.I. there's dedicated Solid Edge Developer Forum where you can post coding related questions but I doubt this one. There's seemingly nothing in the query that is Solid Edge API related.
You can try posting this on a Visual Basic forum.
even if @Tushar is right in pointing to the developers formu I will try to answer here
I think it should be a combination of an IIF with an InStr like
Result = ""
for i=1 to NumberOfLists
Result = Result & IIF(InStr(1, myStrList(ii), "Dog")>0,myStrList(ii),"")
Should work so