char*trimFirstAndLastLetters(char*str){intindex=1;if(str[0]=='\0'||str[1]=='\0'){returnNULL;}while(*(str+index)!='\0'){*(str+(index-1))=*(str+index);index++;}/* Remove last one */*(str+(index-2))='\0';returnstr;}
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
I tried to not use any str function.