Formatting string in Java
<p>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:</p>

<pre><code>NSString *string = [NSString stringWithFormat:@"test%i", variable];
</code></pre>

<p>How do I do this in java?</p>
