How do I search a string? (Text.indexOf function missing)

I was surprised to find that there’s not a built-in way to search a Text to find the index of a substring. Was this intentionally left out of the language?