mblength()

Availability

Flash Lite 1.0.

Usage

mblength(string)

Operands

string A string.

Description

String function; returns the length of the multibyte character string.

Example

The following example displays the length of the string in the myString variable:

myString = mbchr(36) add mbchr(50);
trace ("string length = " add mblength(myString));
// Output: string length = 2

See also

mbchr(), mbsubstring()