You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: exercises/practice/bob/.approaches/method-based-if-statements/content.md
+2-1Lines changed: 2 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -47,7 +47,8 @@ This approach simplifies the main method `hey` by breaking down each response co
47
47
48
48
### Trimming the Input
49
49
50
-
The `input` is trimmed using the `String`[`trim()`][trim] method to remove any leading or trailing whitespace. This helps to accurately detect if the input is empty and should prompt a `"Fine. Be that way!"` response.
50
+
The `input` is trimmed using the `String`[`trim()`][trim] method to remove any leading or trailing whitespace.
51
+
This helps to accurately detect if the input is empty and should prompt a `"Fine. Be that way!"` response.
51
52
52
53
~~~~exercism/caution
53
54
Note that a `null` `string` would be different from a `String` of all whitespace.
0 commit comments