I am trying to read the textfile which has numbers 1 to 99 and its equivalent voice file (for example 1-N001,2-N002 etc...). I can able to read it. But what i need is for example if i type 1,22,3,45. It should match 1 with the value 1, 22 with the value 22 in the text file in the text file , 3 with the value 3 in text file and 45 with 45 in the text file and it should play 1 lakh, 22 thousand,3 hundred and 45. But instead it is playing 1 lakh, 3 hundred,22 thousand and 45. The file is reading the lines one by one. so before 22 it is reading 3. How can i readaccording to the order typed.
Thanks prem. I have done as per your advice and now the issue has been solved. I have created an array of voice file name with index and mapped the dynamic value with index and got the voice file name and able to stream properly.
Gillespie, I have to stream both the dynamic file and also the hard coded voice file. both are different files.
There's a way to do it better - find it. -Edison. A better tiny ad: