Usage

Syntax: str.length()
Returns a number being the length of the string.

Explanation

Returns the amount of characters in the string.

Example

function onCreated()
{
  temp.string = "Hello World!";
  echo(temp.string.length());
}

... Will output 12 in RC when on the serverside, or in your F2 menu when on the clientside.

Categories

CategoryObjectFunction
CategoryFunctionClientside
CategoryFunctionServerside
Comments [Hide comments/form]
Valid XHTML 1.0 Transitional :: Valid CSS :: Powered by WikkaWiki