len()
Table of Contents
Overview
The len() function takes a string as an argument. It returns the count of characters (including spaces) in that string.
Return Type
- Number
Syntax
(OR)
(OR)
(OR)
Parameter | Description | Data type |
---|---|---|
<variable> | Variable which will contain the count of characters | NUMBER |
<string> | The string whose number of characters will be returned | TEXT |
Examples
count= text.len(); //returns 46