Having difficulty with this code - am trying to change the '?' in this array and assistance would be helpful. Also difficulty with posting this request using the updated EDGE
// change the code to whatever train we are running
for (int x = 0; x < 6; x++) {
String S1 = Array[x];
S1.replace("?", code1);
Serial.println(S1);
Array[x][x] = S1;
}