1 #ifndef ROSE_StringUtility_Predicate_H
2 #define ROSE_StringUtility_Predicate_H
9 namespace StringUtility {
18 inline bool isContainedIn(
const std::string &longString,
const std::string &shortString) {
19 return longString.find(shortString) != std::string::npos;
Main namespace for the ROSE library.
ROSE_UTIL_API bool isLineTerminated(const std::string &s)
Returns true if the string ends with line termination.
bool isContainedIn(const std::string &longString, const std::string &shortString)
Determines whether one string contains another.