Text search in excel file

I saved the Revit Duct Pressure Drop file as excel file and want to extract Critical path string from it.

Is there a way to seacrh for “critical” and return the index number contains "critical"
I tried String.IndexOf, Contains, ContainsKey, List.ContainsItem but none works.

A screenshot from your trials would help us understand your problem better. Have you tried this?`

or this:

Try to change the lacing to longest. Read about lacing here: http://dynamoprimer.com/06_Designing-with-Lists/6-1_whats-a-list.html

try String.Contains

Thanks a lot. It seems it worked but it says “operation failed” !?

well its all these nulls you got in that list. just replace them with something else before passing it into the string node.

Done ! :slight_smile: Thanks.