c remove beginning of 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));