utf8.length

function

Library: UTF-8 (OMUTF8)
Import : omutf8.xmd

Declaration
export integer function
   length of value string utf8-string
      

Argument definitions

utf8-string
a sequence of UTF-8 encoded characters


Purpose

The function utf8.length is used to determine how many UTF-8 code points are encoded in its utf8-string argument. Multi-byte characters count as a single character.