I think sidalla's problem is to :
1) find if there is any integer in the given string.
2) If yes then convert it to integer value:
If I am right then,
Do this way.
1) Scan the string for integer's Ascii value (ie, 0-9). If found then find how big is the integer. If it can fit into the computer's integer limit. Then,
2) get the substring out of that .
And convert it to integer by any method : like
atoi, sprintf..
Does this answer your question?
Thanks
Siddhartha Singh [sig]<p>Siddhartha Singh<br><a href=mailto:siddhu_singh@hotmail.com>siddhu_singh@hotmail.com</a><br><a href=siddhu.freehosting.net> </a><br> [/sig]