Translations:User:Psychoslave//Lua reference manual translation stub/1747/en

See mw.ustring.sub for a similar function in which the offsets are characters rather than bytes.