MCPcopy Create free account
hub / github.com/ObEngine/ObEngine / contains

Function contains

src/Core/Utils/StringUtils.cpp:124–127  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

122 }
123
124 bool contains(const std::string& string, const std::string& search)
125 {
126 return (string.find(search) != std::string::npos);
127 }
128
129 bool startsWith(const std::string& string, const std::string& search)
130 {

Callers 10

InstallFunction · 0.50
addContextMethod · 0.50
configureMethod · 0.50
InputManager.cppFile · 0.50
makeCombinationMethod · 0.50
addTagMethod · 0.50
doesHaveTagMethod · 0.50
doesHaveAnyTagMethod · 0.50
loadMethod · 0.50
Polygon.cppFile · 0.50

Calls 1

findMethod · 0.45

Tested by

no test coverage detected