In a given input string i have letters and digit .I need to know all the digits. Like,hjasd7afaf8faf from that i have to find out 7;8 I know atoi() But it wont work here as the digits may be anywhere in string,....... Can anyone suggest any library function........ I can write a function by myself similar to binary search but i'm searching for more effective ways. And is there any library function too convert from string to int s no matter how they are in sequence or not in string...Like 123k2j3122 to 123;2;3122 Thanks a lot :-)
↧