Answers for "how to eliminate the /n on a char* 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 eliminate the /n on a char* in c"

Code answers related to "C"

Browse Popular Code Answers by Language