Share via


LengthString(string) function

 
Communications Server 2007 Server SDK Documentation

LengthString

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

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".

  
  What did you think of this topic?
  © 2007 Microsoft Corporation. All rights reserved.