strip commas from string

N

Nikku

Hello there,

The following snippet may be useful;


char s[10];
...
...
for (i=0,s=strtok(input,",");s!=NULL;s=strtok(NULL,","),i++)
printf("String i --> %s \n",s);
...
...

/Rajesh
 
S

SUNROCKET

SUNROCKET FREE PHONES HER
SunRocket Promotion Free Phones
http://sunrocket.blogspot.com[/URL ...9/sunrocketnew25ub.jp Sent via Archivaty.com
 
S

SUNROCKET

SUNROCKET FREE PHONES HER
SunRocket Promotion Free Phones
http://sunrocket.blogspot.com[/URL ...9/sunrocketnew25ub.jp Sent via Archivaty.com
 
P

Peter_Julian

message
<snip>

for the record: (e-mail address removed)
and a full header + message was sent.

We don't need total idiots here. Specially an idiot that configures the
newsreader to only show unread messages. If you composed it, you've read
it, duh!
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,754
Messages
2,569,521
Members
44,995
Latest member
PinupduzSap

Latest Threads

Top