Please ensure Javascript is enabled for purposes of website accessibility
Powered by Zoomin Software. For more details please contactZoomin

Analytics and Notifications for PI System Explorer (PI Server 2024 R2)

Len

  • Last UpdatedJan 11, 2023
  • 1 minute read

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 Calc Failed]

In This Topic
TitleResults for “How to create a CRG?”Also Available in