sscanf multiple delimiters
#1

Hi, guys, I have a problem.
This is my str: 15,14,13|12,11,10|9,8,7...
How can I get every number?
PHP код:
new text[50],asd[6];
sscanf(text"p<,>ddd ddd",asd[0],asd[1],asd[2],asd[3],asd[4],asd[5]); 
where the space how to check for this symbol "|"?
Thanks in advance
Reply


Messages In This Thread
sscanf multiple delimiters - by coloN - 26.12.2015, 05:00
Re: sscanf multiple delimiters - by AbyssMorgan - 26.12.2015, 05:54
Re: sscanf multiple delimiters - by coloN - 26.12.2015, 06:36

Forum Jump:


Users browsing this thread: 2 Guest(s)