I am trying to split my string and the (\n)new line and want to get the new string without \n.My code is as below.Thanks.
token = strtok(NULL,"")
The above snippet will store "some string and \n" where as I need just "some string".
My data looks like this.
1,v1,p1,182,1665,unkn