I need a function to change a String like this:
Red, Green, Blue, Orange, Pink, Gray, Purple
Into a String[] like this:
Red, Green,
Blue, Orange,
Pink, Gray,
Purple
In this example the character is ,
and splitting it every 2nd.
There are many similar functions online to this one, but they all remove the character.