Skip to content

Commit

Permalink
Update strings.md
Browse files Browse the repository at this point in the history
  • Loading branch information
royalbhati authored Sep 4, 2018
1 parent df4a42d commit 64e21bd
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions doc/src/manual/strings.md
Original file line number Diff line number Diff line change
Expand Up @@ -627,6 +627,7 @@ julia> findfirst(isequal('p'), "xylophone")
5
julia> findfirst(isequal('z'), "xylophone")
```
You can search for the index of the last occurrence a particular character using the [`findlast`](@ref) function:

Expand All @@ -639,6 +640,7 @@ julia> findlast(isequal('p'), "xylophone played by potter")
21
julia> findlast(isequal('z'), "xylophone")
```

You can start the search for a character at a given offset by using [`findnext`](@ref)
Expand Down

0 comments on commit 64e21bd

Please sign in to comment.