Finds the first occurrence of a substring (alias for indexOf).
indexOf
1 2
printf("%g\n", strings.find("hello world", "world")) // 6 printf("%g\n", strings.find("hello world", "xyz")) // -1