Skip to content

Commit

Permalink
Update task.md
Browse files Browse the repository at this point in the history
language checked
  • Loading branch information
stephen-hero authored Dec 20, 2023
1 parent ffeb0eb commit 005a9b8
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions AlmostDone/linesFunction/task.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,13 +7,13 @@ Second line
```
The string will be converted into a list with two strings: `First line` and `Second line`.

This function is better than `split`, since under the hood this function takes into account
new lines symbols from different operating systems:
This function is better than `split`, since it considers
newline symbols from various operating systems under the hood:

```kotlin
"""First line
Second line
""".lines() // works on all OS
""".lines() // works on all OSs
```
VS
```kotlin
Expand Down

0 comments on commit 005a9b8

Please sign in to comment.