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

Returns the length of the string in codepoints, or nil if the string is not valid UTF-8.