MCPcopy Create free account
hub / github.com/StereoKit/StereoKit / string_startswith

Function string_startswith

StereoKitC/libraries/stref.cpp:125–133  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

123///////////////////////////////////////////
124
125bool string_startswith(const char *a, const char *is) {
126 while (*is != '\0') {
127 if (*a == '\0' || *is != *a)
128 return false;
129 a++;
130 is++;
131 }
132 return true;
133}
134
135///////////////////////////////////////////
136

Callers 1

log_replace_colorsFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected