I'm developing an application where user will interact using Voice. Whenever the user says first, second, third etc.. i need to convert string "first" to int 1, string "second" to int 2.
So far what i have found out is that(Java-Android How to convert letters in a string to specified number), converting each letter in a string to respective number and then return some number. But i this is not what i need. I'm really stuck. Any help would be appreciated.