System::String::StartsWith method
Contents
[
Hide
]String::StartsWith(const String&) const method
Checks if string begins with specified substring.
bool System::String::StartsWith(const String &value) const
Parameter | Type | Description |
---|---|---|
value | const String& | Lookup string. |
ReturnValue
true if string starts with specified substring, false otherwise.
See Also
- Class String
- Class String
- Namespace System
- Library Aspose.TeX for C++
String::StartsWith(const String&, bool, const SharedPtr<System::Globalization::CultureInfo>&) const method
Checks if string begins with specified substring.
bool System::String::StartsWith(const String &value, bool ignoreCase, const SharedPtr<System::Globalization::CultureInfo> &culture=nullptr) const
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. |
ReturnValue
true if string starts with specified substring, false otherwise.
See Also
- Class String
- Typedef SharedPtr
- Class CultureInfo
- Class String
- Namespace System
- Library Aspose.TeX for C++
String::StartsWith(const String&, System::StringComparison) const method
Checks if string begins with specified substring.
bool System::String::StartsWith(const String &value, System::StringComparison comparisonType) const
Parameter | Type | Description |
---|---|---|
value | const String& | Lookup string. |
comparisonType | System::StringComparison | Comparison mode, see System::StringComparison for details. |
ReturnValue
true if string starts with specified substring, false otherwise.
See Also
- Class String
- Enum StringComparison
- Class String
- Namespace System
- Library Aspose.TeX for C++