Length

Top  Previous  Next

×V2.1Ø

S

A

W

WS

ü

ü

Syntax -

Length <variable name> <source value>

       Where:

       <variable name> is the user defined name that is assigned to the variable.

       <source value> is a literal string or a variable that contains a literal string.

 

Description:

       This command is used to determine the length of a string <source value>.  The resulting length is stored in <variable name>.

 

Sample:

       The following statement uses Length to determine the length of String and stores the resulting length in StringLength.

Length StringLength String