StringExtensions.Contains Method

Namespace:
Weavy.Core.Helpers
Assembly:
Weavy.Core.dll

Contains(string, string, StringComparison)

Returns true if the the specified string contains the contained string.

public static bool Contains(this string container, string contained, StringComparison comparison)

Parameters

container
string

The container string.

contained
string

The contained string.

comparison
System.StringComparison

Case sensitivity.

Returns

bool

Returns

true
if the container string contains the contained string.