0

hello...

i want to separate string like "!string"
i need to put the "string" to some char*...

i did

char firstWord[10];
sscanf(text,"!%s",firstWord);

why its not woking? and how to make it work?

i try to search, but nada....

3
Contributors
5
Replies
6
Views
7 Years
Discussion Span
Last Post by WaltP
0

hey, it didnt hepled me, its refered to stringswith whitespaces
but in my case i dont have spaces between the words....

any options?

0

hey, it didnt hepled me, its refered to stringswith whitespaces
but in my case i dont have spaces between the words....

any options?

Did you try 'googling scanf regular expression '

Or did you try searching this site

http://www.daniweb.com/forums/thread242643.html

Narue has a link in the above posting that may help

Edited by gerard4143: n/a

This topic has been dead for over six months. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.