Printing { and } with new format syntax

后端 未结 0 1161
陌清茗
陌清茗 2021-02-12 04:41

I need to add \'{\' and/or \'}\' in a string where I use the format function to format the string. For example: I want my string to be \"{3}\", but this:

\"\\{{         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题