Len
- Last UpdatedJan 11, 2023
- 1 minute read
- PI System
- PI Server 2024 R2
- PI Server
Return the length of a string.
Syntax
Len(s1)
Arguments
-
s1
string
Returns
The length of a string
Exceptions
If the argument is not a string, returns an error value
Example
-
Len("String")
[Returns 6]
-
Len('sinusoid')
[Returns ]