开发者

How to add space at the end of property value

label.my.answer=My Answer

I would like to add spaces deliberately at the end of the above key (e.g. I would like to have 2 spaces at the end "My Answer ")

Currently the java.util.ResourceBundle functionality kind of trims this piece of code while retrieving t开发者_如何学Pythonhe value


label.myAnswer = My Answer\u0020\u0020

Note: identifiers with dots usually represent a hierarchy of names, and my is not a hierarchy level. You would certainly not define a Java class or a Java package of that name, would you?


Also

label.myAnswer = My Answer\ \ 
0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜