strlenu

Syntax

strlenu(X)

Arguments

X is a string scalar/vector.

Details

Get the length of a string encoded by Unicode.

Examples

strlenu("database")
// output
8

strlenu(["database","DolphinDB"])
// output
[8,9]