Table of Contents

Method ContainsRange

Namespace
Alternet.Common
Assembly
Alternet.Common.v10.dll

ContainsRange(string?, IEnumerable<string>)

Gets whether string contains any of the specified strings.

public static bool ContainsRange(string? s, IEnumerable<string> strings)

Parameters

s string

The string which Contains(string) method is called.

strings IEnumerable<string>

The collection of string which are tested.

Returns

bool