Len (Tag-based PE function)
- Last UpdatedOct 04, 2024
- 1 minute read
- PI System
- PI Server 2023
- PI Server
Determine the length of a string.
Syntax
Len(s)
Arguments
s
A string.
Returns
The length of a string.
Exceptions
If the argument is not a string, returns an error value.
Example
Len("Stringtag") = 9
Len('Stringtag') = 5 if the Snapshot value for the stringtag equals "Error"