1String currentString = "Fruit: they taste good";
2String[] separated = currentString.split(":");
3separated[0]; // this will contain "Fruit"
4separated[1]; // this will contain " they taste good"
1String currentString = "Custom Section";
2String[] splitarray = currentString.split(" ");
3separated[0]; // this will contain "Custom"
4separated[1]; // this will contain "Custom"
5
6//assign to string variable
7 for (int i = 2; i < array.length; i++) {
8 secondName = secondName + " " + array[i];
9 }
10