@LENGTH

The LENGTH function determines the length of the given string and based on context, returns either the number of characters in the string, or an indicator of whether or not the string is empty. In an integral context, the number of characters is returned as an integer. In a string context, the number of characters is returned as a string. In a Boolean context, true is returned if the source contains at least one character, and false is returned when the string is empty.

Parameters

@LENGTH (Source String)
Source String
Required string parameter; contains the source string whose length will be determined.

Supported Return Types

  • Boolean
  • Integral Number
  • String