MCPcopy Create free account
hub / github.com/carbonengine/trinity / StringFind

Function StringFind

trinity/Utilities/StringUtils.h:101–105  ·  view source on GitHub ↗

-------------------------------------------------------------------------------- Description: Try to find a substring Similar to Python's x in y --------------------------------------------------------------------------------

Source from the content-addressed store, hash-verified

99// Similar to Python's x in y
100// --------------------------------------------------------------------------------
101inline bool StringFind( const char* baseString, const char* searchString )
102{
103 std::string b( baseString );
104 return ( b.find( searchString ) != std::string::npos );
105}
106
107// --------------------------------------------------------------------------------
108// Description:

Callers 2

LoadOverlayMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected