Original text in text object: Cat Fish Bunny Turtle Goat Horse Pig Eagle Dolphin Elephant Lion Tiger Bear Bird Worm
The text is separated by spaces and placed into an array. Then I have a button that inserts a word (in this case "dog") into the array.
Array now looks something like this: Cat Fish Bunny Turtle dog Goat Horse Pig Eagle Dolphin Elephant Lion Tiger Bear Bird Worm
I need to take the information from the array and update the text in the text object. I used JSON to get the text. Unfortunately, the text includes brackets, quotes, commas, etc.
How can I get the text inside the quotations, without commas but keeping the spaces?