I have this txt file containing names and scores. "ex. Player1 35".
My program able to read it and store it to an Array of String.
Here's my question.
Is possible to separate the name and the score and store them in different Arrays?
ex. myArray = {"Player1 35","Player2 30"};
i want to save "Player1 -" in a String Array.
and "35" to an Int Array. If it is, then kindly give me some ideas on how to do it.
Ideas or sample code is much appreciated thank you.