Error getting tags :
error 404Error getting tags :
error 404 length | revDocs | RunRev
Welcome Guest (Log in)
Product Edition
Version
length
Basics
Expander triangle
Type
Function
Syntax
the length of string length(string)
Introduced
1.0
Environment
Desktop, Web and Server
Platform Support
MacOS,Mac OS X,Windows,Linux
Security
None required
Summary
Returns the number of characters in a string.
Examples

the length of "ABC" -- returns 3
repeat with x = 1 to the length of receivedData
put char (length(it) - 3) to (length(it)) of it into myExtension

Additional Comments
Expander triangle

Use the length function to find out how many characters are in a string, in order to process each character.

Parameters:

The string is any string, or an expression that evaluates to a string.

Value:

The length function returns a non-negative integer.

Comments:

The length of a string is the number of characters in the string. The expression

the length of string

is equivalent to

the number of chars in string

If the string is empty, its length is zero.

User Comments
Expander triangle