Method | Description | |
---|---|---|
Contains ( this text, string value, System.StringComparison comparisonType ) : bool |
Returns a value indicating whether a specified substring occurs within this string.
|
public static Contains ( this text, string value, System.StringComparison comparisonType ) : bool | ||
text | this | /// The string to search in. /// |
value | string | /// The string to seek. /// |
comparisonType | System.StringComparison | /// One of the enumeration values that specifies the rules for the search. /// |
return | bool |