Skip to content

Commit 3472919

Browse files
committed
find_first() returns null if the search string is empty.
1 parent d80ba77 commit 3472919

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

jep-014-string-functions.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,7 @@ Contrary to similar functions found in most popular programming languages, the `
4141
| `"subject string"` | `` find_first(@, 'string', `9`) `` | `null`
4242
| `"subject string"` | `` find_first(@, 's') `` | `0`
4343
| `"subject string"` | `` find_first(@, 's', 1) `` | `8`
44+
| `"subject string"` | `` find_first(@, '') `` | `null`
4445

4546
### find_last
4647

0 commit comments

Comments
 (0)