String.format(开发者_C百科"com.dummy.%1$s.", strVarName) See the documentation on Formatter available here.
精彩评论