Skip to content

Commit

Permalink
Update introduction.md (#765)
Browse files Browse the repository at this point in the history
* Update introduction.md

fix typo

* fix typo

* make changes to other files
  • Loading branch information
jcat4 authored Sep 12, 2024
1 parent e3d2601 commit a96e591
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions concepts/characters-and-strings/about.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# About

Strings are a data type that represent a text value.
[`Strings`][strings-and-characters] in Swift are a collection of `Character`s, which themselves hold a [Unicode scalar values][unicode-scalar-values].
[`Strings`][strings-and-characters] in Swift are a collection of `Character`s, which themselves hold a [Unicode scalar value][unicode-scalar-values].

You can create a String through a string literal, which is a series of characters enclosed in double quotation marks (`"`).
For multi-line strings, you can use triple quotation marks (`"""`).
Expand Down Expand Up @@ -46,7 +46,7 @@ let badChar: Character = "Too many characters"

## Concatenation

In Swift can strings be [concatenated][] using the `+` operator.
In Swift, strings can be [concatenated][] using the `+` operator.
Characters can **not** be concatenated with strings using the `+` operator without first converting the character to a string.

```swift
Expand Down
4 changes: 2 additions & 2 deletions concepts/characters-and-strings/introduction.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# About

Strings are a data type that represent a text value.
[`Strings`][strings-and-characters] in Swift are a collection of `Character`s, which themselves hold a [Unicode scalar values][unicode-scalar-values].
[`Strings`][strings-and-characters] in Swift are a collection of `Character`s, which themselves hold a [Unicode scalar value][unicode-scalar-values].

You can create a String through a string literal, which is a series of characters enclosed in double quotation marks (`"`).
For multi-line strings, you can use triple quotation marks (`"""`).
Expand Down Expand Up @@ -46,7 +46,7 @@ let badChar: Character = "Too many characters"

## Concatenation

In Swift can strings be [concatenated][] using the `+` operator.
In Swift, strings can be [concatenated][] using the `+` operator.
Characters can **not** be concatenated with strings using the `+` operator without first converting the character to a string.

```swift
Expand Down
4 changes: 2 additions & 2 deletions exercises/concept/custom-signs/.docs/introduction.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# About

Strings are a data type that represent a text value.
[`Strings`][strings-and-characters] in Swift are a collection of `Character`s, which themselves hold a [Unicode scalar values][unicode-scalar-values].
[`Strings`][strings-and-characters] in Swift are a collection of `Character`s, which themselves hold a [Unicode scalar value][unicode-scalar-values].

You can create a String through a string literal, which is a series of characters enclosed in double quotation marks (`"`).
For multi-line strings, you can use triple quotation marks (`"""`).
Expand Down Expand Up @@ -46,7 +46,7 @@ let badChar: Character = "Too many characters"

## Concatenation

In Swift can strings be [concatenated][] using the `+` operator.
In Swift, strings can be [concatenated][] using the `+` operator.
Characters can **not** be concatenated with strings using the `+` operator without first converting the character to a string.

```swift
Expand Down

0 comments on commit a96e591

Please sign in to comment.