MCPcopy Create free account
hub / github.com/aldostools/webMAN-MOD / trim

Function trim

include/init/string.h:176–181  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

174}
175
176static char *trim(char *title)
177{
178 u32 len = strlen(title);
179 while(len > 0 && title[--len] == ' ') title[len] = '\0';
180 return title;
181}
182
183static void replace_invalid_chars(char *text)
184{

Callers 1

replace_invalid_charsFunction · 0.85

Calls 1

strlenFunction · 0.50

Tested by

no test coverage detected