Upgraded article title functionalify

This commit is contained in:
2020-07-05 20:15:51 +05:00
parent 55f5ccfdf4
commit fd6007b22b
9 changed files with 23 additions and 4 deletions

View File

@ -85,4 +85,17 @@ char *trim(char *str)
}
return str;
}
}
char *repair_spaces(char *str)
{
for (int i = 0; i < strlen(str); i++)
{
if (str[i] == '_')
{
str[i] = ' ';
}
}
return str;
}