KnowledgeHub
Questions
Tags
Users
Search
Alex Rivera
|
Logout
Edit Question
Title
Body
I'm sure I've seen String.format used like this before: String.format("Some {1}, {2}, {3}", var1, var2, var3); Does this ring any bells for anyone? Maybe I'm thinking of C#, is there a way of achieving the same in java? I know you can do something like: String.format("Some %s, %d, %s", aString, aNumber, aString) but the syntax I'm after is for the former...
Tags (comma-separated)
Save Edits
Cancel