Table of Contents

Method Contains

Namespace
Alternet.Common
Assembly
Alternet.Common.v9.dll

Contains(string, string, StringComparison)

Checks whether source string contains toCheck string.

public static bool Contains(this string source, string toCheck, StringComparison comp)

Parameters

source string

Source string to process.

toCheck string

The string to seek.

comp StringComparison

One of the enumeration values that specifies the rules for the search.

Returns

bool

A value indicating whether specified string is a part of source string.