i manage to read a textfile with my program which is a string that looks like this: stuck in a hole in the backyard;60173317358 i want to save stuck in a hole in the backyard in variable x and 60173317358 in variable y. can anyone tell me how to do this? thanks in advance
posted 8 years ago
The String class has two methods that will help you with this: indexOf and substring. With these two, can you think of a way to do this?