:title
Find text in a string

:sig
function find(haystack : string, needle : string) s64

:returns
This function returns the byte position of `needle`. It returns `-1` when it does not find `needle`.

:content
`find` searches a string for another string.

For a list-shaped `dval`, use `some` to test for a matching item.

:example capy render
print(find("one,two", "two"), "\n")

:see-group
collections
