1#ifndef ROSE_StringUtility_Predicate_H
2#define ROSE_StringUtility_Predicate_H
9namespace StringUtility {
18inline bool isContainedIn(
const std::string &longString,
const std::string &shortString) {
19 return longString.find(shortString) != std::string::npos;
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.