开发者

How to add space at the end of property value

开发者 https://www.devze.com 2023-03-10 14:23 出处:网络
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\")
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

精彩评论

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