This page has been moved to /reference/device-os/api/string-class/indexof