System::String::Contains method

String::Contains(char16_t) const method

Checks if string contains given character.

bool System::String::Contains(char16_t value) const
ParameterTypeDescription
valuechar16_tLookup character.

ReturnValue

true if character is present, false otherwise.

See Also

String::Contains(const String&) const method

Checks if str is a substring of current string.

bool System::String::Contains(const String &str) const
ParameterTypeDescription
strconst String&Lookup string.

ReturnValue

true if substring is present, false otherwise.

See Also