Skip to content

Commit 14f76aa

Browse files
authored
Book: Fix outdated substring output (#2100)
1 parent 25ca1c1 commit 14f76aa

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

book/working_with_strings.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -324,7 +324,7 @@ Substrings are slices of a string. They have a startpoint and an endpoint. Here'
324324
'Hello World!' | str index-of 'r'
325325
# => 8
326326
'Hello World!' | str substring 4..8
327-
# => o Wo
327+
# => o Wor
328328
```
329329

330330
### String Padding

0 commit comments

Comments
 (0)