Method ContainsAny
ContainsAny(string, params string[])
Checks if a string contains any of the strings given in strings to check and early out if it does
Declaration
public static bool ContainsAny(this string input, params string[] stringsToCheck)
Parameters
| Type | Name | Description |
|---|---|---|
| string | input | The input string |
| string[] | stringsToCheck | List of strings to check |
Returns
| Type | Description |
|---|---|
| bool | True if a string contains any of the strings given in strings |