Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我有一个带双引号的字符串,例如:
"Diagnosed with "Covid19 -Ve"
在 MEL 变量中渲染时失败。
我的字符串将来可能包含多个双引号。
如果字符串在 MEL 的末尾包含整个字符串值中的所有双引号,如何转义
您可以使用反斜杠然后使用双引号来转义双引号字符。像这样:
myVariable = "Diagnosed with \"Covid19 -Ve" ;