Home
C / ANSI-C
assert.h
Console
ctype.h
Data Structure Algorithm
Data Type
Development
File
Function
Language Basics
Macro Preprocessor
Math
math.h
Memory
Pointer
setjmp.h
signal.h
Small Application
stdio.h
stdlib.h
String
string.h
Structure
time.h
wctype.h
String Split « String « C / ANSI-C
C / ANSI-C
String
String Split
1.
Sequentially truncate string if delimiter is found
2.
Add spaces to the end of a string
3.
Replace space with dash
4.
Truncate string by delimiter: how to use strtok