StringLength Function

Top  Previous  Next

Returns the number of characters in the given string.

 

Short form: "len".

 

Syntax

 

value = StringLength( inputString )

 

Parameters

inputString

 

the string being measured

 

 

 

returns

 

the number of characters in the string

 

 

Examples

The following examples illustrate the use of the StringLength  function:

 

value = StringLength( "Hello" )         ' Returns 5

value = StringLength( "Goodbye" )       ' Returns 7