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

See string.len for a similar function that uses byte length rather than codepoints.