Skip to content

Commit

Permalink
Documentation fix
Browse files Browse the repository at this point in the history
  • Loading branch information
odino committed Sep 21, 2019
1 parent 3b9c35d commit 05c699c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/types/string.md
Original file line number Diff line number Diff line change
Expand Up @@ -441,7 +441,7 @@ Returns the last index at which `str` is found:

> This function is deprecated and might be removed in future versions.
>
> Use the index notation instead: `"string"[0, 3]`
> Use the index notation instead: `"string"[0:3]`
Returns a portion of the string, from `start` to `end`:

Expand Down

0 comments on commit 05c699c

Please sign in to comment.