neoncitylights/libneoncl

add string padding functions

neoncitylights opened this issue · 0 comments

char *strPadStart(const char *str, char c, size_t targetLen);
char *strPadEnd(const char *str, char c, size_t targetLen);

void strPadStartMut(char *str, char c, size_t targetLen);
void strPadEndMut(char *str, char c, size_t targetLen);