Translations:Extension:Scribunto/Lua reference manual/1678/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.