V
vijay
I have a file with lines like
1|22|333
4444|55555|666666
ccc|bb|a
I only need the last field. What I am doing now is using strtok to
split the lines and ignoring the first two fields. Can someone suggest
a better way to do this?
1|22|333
4444|55555|666666
ccc|bb|a
I only need the last field. What I am doing now is using strtok to
split the lines and ignoring the first two fields. Can someone suggest
a better way to do this?