EndsWith()
Contents
[
Hide
]String::EndsWith(const String&) const method
Checks if string ends with specified substring.
bool System::String::EndsWith(const String &value) const
Arguments
Parameter | Type | Description |
---|---|---|
value | const String& | Lookup string. |
Return Value
true if string ends with specified substring, false otherwise.
String::EndsWith(const String&, System::StringComparison) const method
Checks if string ends with specified substring.
bool System::String::EndsWith(const String &value, System::StringComparison comparisonType) const
Arguments
Parameter | Type | Description |
---|---|---|
value | const String& | Lookup string. |
comparisonType | System::StringComparison | Comparison mode, see System::StringComparison for details. |
Return Value
true if string ends with specified substring, false otherwise.
String::EndsWith(const String&, bool, const SharedPtr<System::Globalization::CultureInfo>&) const method
Checks if string ends with specified substring.
bool System::String::EndsWith(const String &value, bool ignoreCase, const SharedPtr<System::Globalization::CultureInfo> &culture=nullptr) const
Arguments
Parameter | Type | Description |
---|---|---|
value | const String& | Lookup string. |
ignoreCase | bool | Specifies whether comparison is case-insensitive. |
culture | const SharedPtr<System::Globalization::CultureInfo>& | Culture to use while performing string comparison. |
Return Value
true if string ends with specified substring, false otherwise.
See Also
- Enum StringComparison
- Typedef SharedPtr
- Class String
- Class CultureInfo
- Namespace System
- Library Aspose.Slides