All the Strings are in an array. Your code tests one part of the array at [0].
You need to adjust the indexes into the array to get the other part at [1] that you want to print.
Type: Posts; User: Norm
All the Strings are in an array. Your code tests one part of the array at [0].
You need to adjust the indexes into the array to get the other part at [1] that you want to print.
By "returning" I guess you mean what the program is printing on the console screen.
What do you want to be printed?
To change back to the problem, what is your problem with the code you posted?
If you have errors, please copy and paste the full text here.