From 8c0733ebc3e9c8188abcd42c97926a603b4f8163 Mon Sep 17 00:00:00 2001 From: yonggang_liu Date: Mon, 31 Aug 2015 18:12:22 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E4=B8=80=E4=B8=AA=E7=BF=BB?= =?UTF-8?q?=E8=AF=91=E9=94=99=E8=AF=AF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- source/chapter2/03_Strings_and_Characters.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/chapter2/03_Strings_and_Characters.md b/source/chapter2/03_Strings_and_Characters.md index 7b780c20..6a46bb8b 100755 --- a/source/chapter2/03_Strings_and_Characters.md +++ b/source/chapter2/03_Strings_and_Characters.md @@ -184,7 +184,7 @@ let message = "\(multiplier) times 2.5 is \(Double(multiplier) * 2.5)" // message 是 "3 times 2.5 is 7.5" ``` -在上面的例子中,`multiplier`作为`\(multiplier)`被插入到一个字符串字面量中。 +在上面的例子中,`multiplier`作为`\(multiplier)`被插入到一个字符串常量量中。 当创建字符串执行插值计算时此占位符会被替换为`multiplier`实际的值。 `multiplier`的值也作为字符串中后面表达式的一部分。