Skip to content
Chris Petersen edited this page Oct 16, 2014 · 1 revision

utf8string-length returns the length of an UTF8 string.

Parameter Description
str UTF8 string operated on

Example

Example 1: Get length of Sindhi UTF8 string for "Username"

> (define str "استعمال ڪندڙ جو نالو")
> (utf8string-length str)
20
Clone this wiki locally