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