Answers for "how to get rid of the new line at the end of a string in c"

C
0

remove \n from string c

strtok(Name, "\n");
Posted by: Guest on January-12-2021
0

how to remove \n from a string c

str[strcspn(str, "\n")] = 0;
Posted by: Guest on June-02-2020

Code answers related to "how to get rid of the new line at the end of a string in c"

Code answers related to "C"

Browse Popular Code Answers by Language