Contains()
String::Contains(const String&) const method
Checks if str is a substring of current string.
bool System::String::Contains(const String &str) const
Arguments
| Parameter | Type | Description |
|---|---|---|
| str | const String& | Lookup string. |
Return Value
true if substring is present, false otherwise.
String::Contains(char16_t) const method
Checks if string contains given character.
bool System::String::Contains(char16_t value) const
Arguments
| Parameter | Type | Description |
|---|---|---|
| value | char16_t | Lookup character. |
Return Value
true if character is present, false otherwise.
See Also
- Class String
- Namespace System
- Library Aspose.Slides