IsPrefix()
Contents
[
Hide
]CompareInfo::IsPrefix(const String&, const String&, CompareOptions) const method
Checks if the specified string starts with the specified prefix using the specified compare options.
virtual bool System::Globalization::CompareInfo::IsPrefix(const String &source, const String &prefix, CompareOptions options) const
Arguments
Parameter | Type | Description |
---|---|---|
source | const String& | Source string. |
prefix | const String& | Prefix string. |
options | CompareOptions | Compare options. |
Return Value
True if string starts with prefix; otherwise false.
CompareInfo::IsPrefix(const String&, const String&) const method
Checks if the specified string starts with the specified prefix.
virtual bool System::Globalization::CompareInfo::IsPrefix(const String &source, const String &prefix) const
Arguments
Parameter | Type | Description |
---|---|---|
source | const String& | Source string. |
prefix | const String& | Prefix string. |
Return Value
True if string starts with prefix; otherwise false.
See Also
- Enum CompareOptions
- Class String
- Class CompareInfo
- Namespace System::Globalization
- Library Aspose.Slides