MCPcopy Create free account
hub / github.com/TorqueGameEngines/Torque3D / dStrStartsWith

Function dStrStartsWith

Engine/source/core/strings/stringFunctions.cpp:553–556  ·  view source on GitHub ↗

Check if one string starts with another

Source from the content-addressed store, hash-verified

551
552/// Check if one string starts with another
553bool dStrStartsWith(const char* str1, const char* str2)
554{
555 return !dStrnicmp(str1, str2, dStrlen(str2));
556}
557
558/// Check if one string ends with another
559bool dStrEndsWith(const char* str1, const char* str2)

Callers 10

writeMethod · 0.85
addMeshMethod · 0.85
findColDetailsMethod · 0.85
_buildColShapesMethod · 0.85
enumerateSceneMethod · 0.85
generateObjectsMethod · 0.85
detectDetailsMethod · 0.85
glDebugCallbackFunction · 0.85
startsWithMethod · 0.85
onAddMethod · 0.85

Calls 2

dStrnicmpFunction · 0.85
dStrlenFunction · 0.70

Tested by

no test coverage detected