LengthString

Applies to: Lync 2013 | Lync Server 2013

LengthString

The LengthString function returns the number of characters in a string.

Syntax

int LengthString(
  string string
);

Parameters

  • string
    The string whose length in characters is to be returned.

Return values

Returns an integer representing the number of characters in the string. For a null string, the function returns "0".