Hello, I have a text file, which looks like this:
If my application returns a "3" then it extracts the text file from the application (resource file), reads it and shows the corresponding text (in this case "Tomorrow").Code:1=Hello 2=Bye 3=Tomorrow 4=Yesterday 5=Sunday etc etc etc
I'd like to get rid of the text file and add the list of text to the code, but I don't know how to do this. Basically I want to check the list internally for the number and show the corresponding text.
Do I need to add the list as one huge string or how would I do this?




Reply With Quote