"contains" (string::contains)
Returns true if this string contains an occurrence of the string s, otherwise false.
Synopsis
bool string.contains(string s, CaseSensitivity cs = CaseSensitive);
Parameters
Parameter | Description |
---|---|
s | String for which the occurrence is checked. |
cs |
Decides if the search is case sensitive. Can be either:
|
Description
-
Assignment
String