c how to remove first character from string code example
Example: remove first character from string c
if (contents[0] == '\n')
memmove(contents, contents+1, strlen(contents));
if (contents[0] == '\n')
memmove(contents, contents+1, strlen(contents));