MessageFormat with ”

		MessageFormat.format("Hi, {0} {1}", "朱", "元璋");  //Hi, 朱 元璋
		MessageFormat.format("Hi, '{0}' {1}", "朱", "元璋"); //Hi, {0} 元璋
                MessageFormat.format("Hi', {0} {1}", "朱", "元璋"); //Hi, {0} {1}
		MessageFormat.format("Hi, {0} {1}", "'朱'", "元璋"); //Hi, '朱' 元璋

Leave a Comment

Your email address will not be published.

This site uses Akismet to reduce spam. Learn how your comment data is processed.