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
#2

PHP код:
P<,|> 
Reply
#3

Quote:
Originally Posted by AbyssMorgan
Посмотреть сообщение
PHP код:
P<,|> 
Thank you so much
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)