Can the key in a Java property include a blank character?

前端 未结 5 1510
陌清茗
陌清茗 2020-12-14 00:09

We are getting properties (that we can not influence) out of a database and want to access them by a key/value mapping. We are facing the problem that one of the property ke

5条回答
  •  盖世英雄少女心
    2020-12-14 00:36

    Maybe you can escape the whitespaces: foo\ bar = barefoot

    Edit: Oops, I did not see that you can't change the properties.

提交回复
热议问题