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

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