Translations:Extension:Scribunto/Lua reference manual/451/en

See mw.ustring.find for a similar function extended as described in Ustring patterns and where the  offset is in characters rather than bytes.