Hi I'm new to java so this is going to seem a bit tame. Anyway, in objC, when I want to insert a variable into a string, I would do it like this:
NSString *string = [NSString stringWithFormat:@"test%i", variable];
How do I do this in java?
Using the String.format() method. Take a look at the documentation for understanding all the different formatting options available.