How does one escape characters in Delphi string

前端 未结 3 991
没有蜡笔的小新
没有蜡笔的小新 2020-12-10 00:49

Delphi strings use single quotes, for example \'a valid string\'. How does one specify the \' character within a literal string? How would one refe

3条回答
  •  不思量自难忘°
    2020-12-10 01:16

    To answer the last part of the question, you can use

    #$0000   
    

    To add U+0000

    This way you can add the other Unicode chars too. (Be sure to use a font that can display those characters.)

提交回复
热议问题