diff --git a/book/working_with_strings.md b/book/working_with_strings.md index 22101f11aae..4465b92a77d 100644 --- a/book/working_with_strings.md +++ b/book/working_with_strings.md @@ -324,7 +324,7 @@ Substrings are slices of a string. They have a startpoint and an endpoint. Here' 'Hello World!' | str index-of 'r' # => 8 'Hello World!' | str substring 4..8 -# => o Wo +# => o Wor ``` ### String Padding