Function cras::endsWith
Defined in File string_utils.hpp
Function Documentation
-
bool cras::endsWith(const ::std::string &str, const ::std::string &suffix)
Check whether
suffixis a suffix ofstr.- Parameters:
str – [in] The string to be searched in.
suffix – [in] The string to be found in
str.
- Returns:
Whether
suffixis a suffix ofstr.