Table of Contents

Method Contains

Namespace
Innova.Data
Assembly
Innova.Data.dll

Contains(string, string, StringComparison)

Determines whether a string contains a specified value using the specified string comparison option.

public static bool Contains(this string text, string value, StringComparison stringComparison)

Parameters

text string

The string to search.

value string

The value to find.

stringComparison StringComparison

The string comparison option to use.

Returns

bool

true if the string contains the specified value; otherwise, false.