length

length()

Overview

The length() function takes a string as an argument. It returns the count of characters (including spaces) in that string.

Return Type

  • Number

Syntax

<variable> = <string>.length();

(OR)

<variable> = length( <string> );

(OR)

<variable> = <string>.len();

(OR)

<variable> = len(<string>);
ParameterDescriptionData type
<variable>Variable which will contain the count of characters.NUMBER
<string>The string whose number of characters will be returned.TEXT

Examples

text = "Create database applications with Zoho Creator";
textLength= text.length();         //returns 46

Share this post : FacebookTwitter

Still can't find what you're looking for?

Write to us: support@zohodeluge.com