Skip to content

Commit

Permalink
Add "String.index_of_char_from" function
Browse files Browse the repository at this point in the history
  • Loading branch information
louis77 authored and lerno committed Dec 25, 2024
1 parent 192be46 commit fdeffa7
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/content/docs/Language Common/strings.md
Original file line number Diff line number Diff line change
Expand Up @@ -109,6 +109,10 @@ fn bool String.ends_with(string, String needle);
fn usz! String.index_of_char(s, char needle);
```

```c3 implementation
fn usz! String.index_of_char_from(s, char needle, usz start_index);
```

```c3 implementation
fn usz! String.index_of(s, String needle)
```
Expand Down

0 comments on commit fdeffa7

Please sign in to comment.