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

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