Hello,
Say I have the following string str = "1,2,3,,,4"
when I'm applying the strtok function
strtok(str,",") and printing the output it is returning the following
3 5 6 5
is there any way to make it return
3 5 6 0 0 5
it looks strtok is jumping through all the commas and returning the next token.
thanks a lot
A.Y.A
Say I have the following string str = "1,2,3,,,4"
when I'm applying the strtok function
strtok(str,",") and printing the output it is returning the following
3 5 6 5
is there any way to make it return
3 5 6 0 0 5
it looks strtok is jumping through all the commas and returning the next token.
thanks a lot
A.Y.A