Firstly, sorry if the title sounds confusing.
How do I find the index of an item in a list string when only a substring of that item is known?
Like, I have a list called directories. It has C:\test, C:\new and C:\files (3 items).
Using the word "new" only, how can I find the index number of C:\new (that is 1) in directories?
I am using .NET Framework 4.0, if that matters.
Thanks in advance.