char *test="Just Dance 2 by UBI Soft|Nintendo Wii";
char title[100],platform[100]
sscanf(test,"%[^|],%s",title,platform);
printf("%s\n",platform);
If I print the tile it shows the just dance 2 by ubi soft
but if i try to print platform its empty
If I chance it to a comma it works but not with pipe and I have to use pipe
Any idea why its not working?