uniStrLen()

Returns the length of a string.

Synopsis

int uniStrLen( string s);

Parameters

Parameter Description
s String to be examined

Return value

The length of a string. The number of characters is returned.

Errors

missing/incorrect argument

Description

Returns the length of a string s . The number of characters is returned.

Example

main()
{
  string s= "This is a string";
  int a = uniStrLen(s); //uniStrLen
  DebugN("The length of a string:", a);
}

Assignment

Strings

Availability

CTRL