StringUtils.Contains

String.Contains() extension method that allows to specify case

public static bool Contains(string text,
	string searchFor,
	StringComparison stringComparison)

Parameters

text
Input text

searchFor
text to search for

stringComparison
Case sensitivity options


See also:

Class StringUtils

© West Wind Technologies, 1996-2024 • Updated: 06/29/24
Comment or report problem with topic