C String manipulation doubt
Posted on 2005-03-13
I have got a string in the form TESTSTRING12022004. i.e; <somestring><date in format ddmmyyyy>
I have to take the "date in format ddmmyyyy" alone in a sepearte string in the "yyyymmdd" form.(i.e; i have to extract the date part in the form 20040212 in to a seperate string from TESTSTRING12022004)
Always the string will be in the format <somestring><date in format ddmmyyyy>
Please help me in doing this. Any c standard functions which can help me in doing this?
A code help is greatly appreciated..
Early help is greatly appreciated