1
Vote

Feature Request: StartsWithOrEndsWithAny extension method for strings

description

Hi.
 
I would like to request a new extension method for strings:
 
public static bool StartsWithOrEndsWithAny(this string s, List<string> values)
    {
        return (s.StartsWithAny(values, true) || s.EndsWithAny(values, true));
    }
 
Thank you.

comments