diff options
Diffstat (limited to 'src/components/include/utils/custom_string.h')
-rw-r--r-- | src/components/include/utils/custom_string.h | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/src/components/include/utils/custom_string.h b/src/components/include/utils/custom_string.h index 7b21e7a64d..0d9b27e47c 100644 --- a/src/components/include/utils/custom_string.h +++ b/src/components/include/utils/custom_string.h @@ -180,6 +180,20 @@ class CustomString { bool CompareIgnoreCase(const char* str) const; /** + * @brief Compares the value of the string (case sensitive). + * @param Contains string for comparing + * @return Returns TRUE if strings is equal otherwise returns FALSE. + */ + bool Compare(const CustomString& str) const; + + /** + * @brief Compares the value of the string (case sensitive). + * @param Contains string for comparing + * @return Returns TRUE if strings is equal otherwise returns FALSE. + */ + bool Compare(const char* str) const; + + /** * @brief Returns a pointer to string from CustomString. */ const char* c_str() const; |