在MySQL中,字符序列\表示一个反斜杠转移单引号',但在DB 2中,单引号必须要再加一个单引号来实现转义' '(即两个单引号)。
The character sequence \ represents a backslash escaped single quote 'in MySQL, but in DB2, a single quote must be escaped by adding another single quote "(double single quotes)."
这些区别来自这一事实,即:如果要把单引号包括在结果中,则MessageFormat期望输入两次单引号。
These differences stem from the fact that MessageFormat expects a quote to be entered twice if it is to be included in the result.
在被单引号(即省略号,呼号)环绕的文本字面值里,变量替换不会进行。
Variable substitution is not done in text literals which are surrounded by single quotes (apostrophe s).
应用推荐