I’ve got a String Array in my main.xml and by pressing a Button it displays a random string in the textview. But Ive got a Problem. So basically its a quotes app and the Quote should be in quotationmarks. And the second quotationmark should be with the last word not in a own line. How can I modify the Strings that the last Word is always with the second quotationmark?
Here a picture:

There might be newline character before second quotation mark. You can give a try by removing second quotation mark using subString() method and then manually adding second quotation mark.