String newStr = "R" + X; // Create String by concatenating "R" and loop control variable
Type: Posts; User: Norm
String newStr = "R" + X; // Create String by concatenating "R" and loop control variable
Can you explain the problem you are having concatenating the value of x to "R" to create the Strings: "R1", "R2" etc
I don't understand what you are trying to do here.
If X is an int value used in a for loop and you want to create String values by concatenating the value of X to "R" to create new Strings: "R1",...