Answers for "remove first and last character in c"

C
1

remove first character from string c

if (contents[0] == '\n') 
    memmove(contents, contents+1, strlen(contents));
Posted by: Guest on November-18-2020
0

c remove last charachter from string

str[strlen(str)-1] = '\0';
test2
Posted by: Guest on January-02-2022

Code answers related to "remove first and last character in c"

Code answers related to "C"

Browse Popular Code Answers by Language