From d4dbd52d84177e194b097fa24aa92297adf692db Mon Sep 17 00:00:00 2001 From: Xwoder Date: Wed, 20 May 2015 21:30:25 +0800 Subject: [PATCH] =?UTF-8?q?=E5=B0=86=E7=94=A8=E4=BA=8E=E8=A1=A8=E7=A4=BA?= =?UTF-8?q?=E5=AD=97=E7=AC=A6=E4=B8=B2=E7=9A=84=E4=B8=AD=E6=96=87=E5=8F=8C?= =?UTF-8?q?=E5=BC=95=E5=8F=B7=E4=B8=BA=E8=8B=B1=E6=96=87=E5=8F=8C=E5=BC=95?= =?UTF-8?q?=E5=8F=B7?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- source/chapter2/03_Strings_and_Characters.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/source/chapter2/03_Strings_and_Characters.md b/source/chapter2/03_Strings_and_Characters.md index 19e9eea4..3983d10a 100755 --- a/source/chapter2/03_Strings_and_Characters.md +++ b/source/chapter2/03_Strings_and_Characters.md @@ -18,7 +18,7 @@ - [字符串大小写](#uppercase_and_lowercase_strings) - [Unicode](#unicode) -`String`是例如“hello, world”,“海贼王” 这样的有序的`Character`(字符)类型的值的集合,通过`String`类型来表示。 +`String`是例如"hello, world","海贼王"这样的有序的`Character`(字符)类型的值的集合,通过`String`类型来表示。 Swift 的`String`和`Character`类型提供了一个快速的,兼容 Unicode 的方式来处理代码中的文本信息。 创建和操作字符串的语法与 C 语言中字符串操作相似,轻量并且易读。 @@ -285,7 +285,7 @@ for scene in romeoAndJuliet { } } println("\(mansionCount) mansion scenes; \(cellCount) cell scenes") -// 打印输出:"6 mansion scenes; 2 cell scenes” +// 打印输出:"6 mansion scenes; 2 cell scenes" ```