From bb9899c8e7880d8314d9f73116bd998e998eb598 Mon Sep 17 00:00:00 2001 From: Mytia Dorofieiev <164520905+mytiadorofieiev@users.noreply.github.com> Date: Fri, 29 Mar 2024 21:02:12 +0100 Subject: [PATCH] Update instructions.md (#736) --- exercises/concept/poetry-club/.docs/instructions.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/exercises/concept/poetry-club/.docs/instructions.md b/exercises/concept/poetry-club/.docs/instructions.md index 8475698d6..9431679d9 100644 --- a/exercises/concept/poetry-club/.docs/instructions.md +++ b/exercises/concept/poetry-club/.docs/instructions.md @@ -82,10 +82,10 @@ Finally the password you return is `SUPER!`, and you'll get in. ## 1. Split a string into individual lines -Implement the function `splitLines(_:)` that takes a `String` as input and splits it into an array of `String`s using newlines as delimiters. +Implement the function `splitOnNewlines(_:)` that takes a `String` as input and splits it into an array of `String`s using newlines as delimiters. ```swift -splitLines("Hello.\nHow are you?\n\nI'm doing fine.") +splitOnNewlines("Hello.\nHow are you?\n\nI'm doing fine.") // => ["Hello." ,"How are you?", "", "I'm doing fine"]. ```