System::Globalization::CompareInfo::IsPrefix method
Contents
[
Hide
]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
Parameter | Type | Description |
---|---|---|
source | const String& | Source string. |
prefix | const String& | Prefix string. |
ReturnValue
True if string starts with prefix; otherwise false.
See Also
- Class String
- Class CompareInfo
- Namespace System::Globalization
- Library Aspose.Page for C++
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
Parameter | Type | Description |
---|---|---|
source | const String& | Source string. |
prefix | const String& | Prefix string. |
options | CompareOptions | Compare options. |
ReturnValue
True if string starts with prefix; otherwise false.
See Also
- Class String
- Enum CompareOptions
- Class CompareInfo
- Namespace System::Globalization
- Library Aspose.Page for C++