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

Function dStrStartsWith

Engine/source/core/strings/stringFunctions.cpp:491–494  ·  view source on GitHub ↗

Check if one string starts with another

Source from the content-addressed store, hash-verified

489
490/// Check if one string starts with another
491bool dStrStartsWith(const char* str1, const char* str2)
492{
493 return !dStrnicmp(str1, str2, dStrlen(str2));
494}
495
496/// Check if one string ends with another
497bool 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
glDebugCallbackFunction · 0.85
startsWithMethod · 0.85
onAddMethod · 0.85
buildColShapesMethod · 0.85

Calls 2

dStrnicmpFunction · 0.85
dStrlenFunction · 0.70

Tested by

no test coverage detected