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: src/strings_ii/strip_extra_whitespace.md
+2-2Lines changed: 2 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,6 +1,6 @@
1
1
# Strip extra whitespace
2
2
3
-
If you have a `String` which might contains some "trailing" whitespace or "leading"
3
+
If you have a `String` which might contain some "trailing" whitespace or "leading"
4
4
whitespace, you can remove that by using the `.strip` method.
5
5
6
6
This will give a new `String` with both the leading and trailing whitespace removed.
@@ -36,4 +36,4 @@ void main() {
36
36
}
37
37
```
38
38
39
-
All of these methods are useful when you get input from human beings. Humans are generally pretty bad at seeing if they hit the spacebar one too many times.
39
+
All of these methods are useful when you get input from human beings. Humans are generally pretty bad at seeing if they hit the spacebar one too many times.
0 commit comments