From 4ec83bb7f76e6fd50defdc143163019634c30785 Mon Sep 17 00:00:00 2001 From: Christian Willner <34183939+vaeng@users.noreply.github.com> Date: Tue, 29 Oct 2024 13:42:02 +0100 Subject: [PATCH] docs: fix formatting and punctuation --- .../concept/squeaky-clean/.docs/instructions.md | 16 +++++++--------- 1 file changed, 7 insertions(+), 9 deletions(-) diff --git a/exercises/concept/squeaky-clean/.docs/instructions.md b/exercises/concept/squeaky-clean/.docs/instructions.md index a191e3cbc8..628f422d75 100644 --- a/exercises/concept/squeaky-clean/.docs/instructions.md +++ b/exercises/concept/squeaky-clean/.docs/instructions.md @@ -1,18 +1,16 @@ # Instructions -In this exercise you will implement a partial set of utility routines to help a developer -clean up identifier names. - -In the 5 tasks you will gradually build up the routine `Clean` A valid identifier comprises -zero or more letters and underscores. - -In all cases the input string is guaranteed to be non-null. If an empty string is passed to the `Clean` function, an empty string should be returned. - +In this exercise, you will implement a partial set of utility routines to help a developer clean up identifier names. +In the 5 tasks you will gradually build up the routine `Clean`. +A valid identifier comprises zero or more letters and underscores. +In all cases, the input string is guaranteed to be non-null. +If an empty string is passed to the `Clean` function, an empty string should be returned. Note that the caller should avoid calling the routine `Clean` with an empty identifier since such identifiers are ineffectual. ## 1. Replace any spaces encountered with underscores -Implement the (_static_) `Identifier.Clean()` method to replace any spaces with underscores. This also applies to leading and trailing spaces. +Implement the (_static_) `Identifier.Clean()` method to replace any spaces with underscores. +This also applies to leading and trailing spaces. ```csharp Identifier.Clean("my Id");