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?`
![](https://us1.discourse-cdn.com/flex022/uploads/dynamobim/original/2X/9/94158599603cb30c83ad9ee2c995cbcdb06631e5.png)
or this:
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.