carb::extras::isStringPrefix¶
Defined in carb/extras/StringSafe.h
-
inline bool
carb::extras
::
isStringPrefix
(const char *str, const char *prefix)¶ Test if one string is a prefix of the other.
- Parameters
str – [in] The string to test.
prefix – [in] The prefix to test on
str
.
- Returns
true
ifstr
begins withprefix
.- Returns
false
otherwise.