We are about to switch to a new forum software. Until then we have removed the registration on this forum.
Hi, I am very new to programming so bare with me.
Basically I have multiple arrays in the form of Strings that contain sentences that looks like this:
String [] sentences1 = {"example1", "example2", "example3"};
String [] sentences2 ={"example4", "example5", "example6"};
I know how to get information from one array into a text function like this;
text(sentences1[3], 30, 30);
my question is how could I include multiple arrays within a single text function? Processing says I can only include one String per text function.
Answers
You the
+
operator in order to concatenate those String objects:https://processing.org/reference/addition.html
Wow, thanks a lot for that! So much I dont know!