New course! Every coder should learn Generative AI!
Try a free lesson0
How to split string in C?
For example: I have a string "I Love C Programming Language" And output should be I Love C Programming Language
1 Answer
+ 4
use strtok() function:
https://www.educative.io/edpresso/splitting-a-string-using-strtok-in-c