utf8.codepoint_count
Available inall subroutines.
Returns the number of UTF-8 encoded Unicode code points in the string s
.
Returns zero if the string does not contain valid UTF-8.
Available inall subroutines.
Returns the number of UTF-8 encoded Unicode code points in the string s
.
Returns zero if the string does not contain valid UTF-8.
User contributed notes
BETADo you see an error in this page? Do have an interesting use case, example or edge case people should know about? Share your knowledge and help people who are reading this page! (Comments are moderated; for support, please contact support@fastly.com)