how to remove a string based on the first letter in C 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));