0

この出力が欲しい

"type":"test test"

" " のようにコマンドでスペースを使用したくありません。単一のスペースを表す文字が必要で、\sを使用できないことがわかっています。

何か使えるものはありますか?

print "\"type\":\"test(space character should be here )test\";
4

2 に答える 2

2

スペースキーを使用するだけです:

print "\"type\":\"test test\"";
#                     ^
于 2013-09-05T11:36:26.620 に答える