From 94806c4de9518d09b7c0d78fbe74b4236695ce1e Mon Sep 17 00:00:00 2001 From: Will Lee Date: Fri, 13 Jun 2014 16:07:41 +0800 Subject: [PATCH] =?UTF-8?q?2.3=20=E7=AB=A0=E8=8A=82=20=E5=AD=97=E7=AC=A6?= =?UTF-8?q?=E4=B8=B2=E5=92=8C=E5=AD=97=E7=AC=A6=EF=BC=88Strings=20and=20Ch?= =?UTF-8?q?aracters=EF=BC=89=E4=B8=80=E5=A4=84=E5=BC=95=E5=8F=B7=E9=94=99?= =?UTF-8?q?=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 8298bc62..0e3e5bdc 100644 --- a/source/chapter2/03_Strings_and_Characters.md +++ b/source/chapter2/03_Strings_and_Characters.md @@ -288,7 +288,7 @@ println("There are \(act1SceneCount) scenes in Act 1") 相似地,您可以用`hasSuffix`方法来计算发生在不同地方的场景数: ``` -“var mansionCount = 0 +var mansionCount = 0 var cellCount = 0 for scene in romeoAndJuliet { if scene.hasSuffix("Capulet's mansion") {