LEN

The LEN function returns the number of characters in a string.

Function Name

LEN

Description

Returns the number of characters in an input string as a real value.

Arguments

LEN('STRING')

Where String is the string expression in which to search. The string has to be enclosed within single quotations. For more information, see String.

Returns

REAL

The returned value is a number that matches the total number of characters within the input string.

Example:

The following expression is used to return the number of characters in the name of a point:

LEN (".PointA_STA.Name")

The expression returns 10 as the name of the point is PointA_STA.


Disclaimer

ClearSCADA 2017 R2