>>>>But you're right, Contains() is less code
>>>
>>>Which one performs better? I'm adding this to our string extensions, thanks.
>>
>>
>>You'll have to test it
>
>I decided to use generics one.
i wouldn't be surprised if Array.IndexOf() != -1 were faster than Contains()
Gregory