MCPcopy Create free account
hub / github.com/GaijinEntertainment/daScript / strip_l

Function strip_l

src/builtin/module_builtin_string.cpp:111–116  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

109 }
110
111 static inline const char* strip_l(const char *str) {
112 const char *t = str;
113 while (((*t) != '\0') && is_space(*t))
114 t++;
115 return t;
116 }
117
118 static inline const char* strip_r(const char *str, uint32_t len) {
119 if (len == 0)

Callers 2

builtin_string_stripFunction · 0.85

Calls 1

is_spaceFunction · 0.70

Tested by

no test coverage detected