Look at this code. this programme take a string from user store it into a text file then extract digits from that text file from a line and store it into another string leter on i will convert that into intereger veriable. but the problem is it extract all the digits from the line don't tream them seperatily if there will be two or more integers within a line.
look this line.
"There are 500 cars in wich 200 are new"
i want to take 500 as an integer and then 200 as another integer.
but my prgramme shows the result 500200 .